Skip to content

Support placement_policy resource and database configuration #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 5, 2024

Conversation

otherchen
Copy link
Collaborator

Supports creating a placement policy and adding it to a database:

resource "mysql_ti_placement_policy" "test" {
    name = "%s"
    primary_region = "%s"
    regions = %s
    constraints = %s
}

resource "mysql_database" "test" {
    name = "%s"
    default_character_set = "%s"
    default_collation = "%s"
    placement_policy = mysql_ti_placement_policy.test.name
}

Copy link
Owner

@zph zph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found a leftover comment to remove, then looks good to merge and release 👍

@zph zph self-requested a review September 5, 2024 18:44
@zph zph merged commit c1c8d2a into r3.0.62 Sep 5, 2024
15 checks passed
@zph zph deleted the ac-database-policy-v2 branch September 5, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants