Skip to content
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

Changing collation of Azure SQL Database should force a new resource to be created #844

Closed
phekmat opened this issue Feb 15, 2018 · 2 comments
Labels
Milestone

Comments

@phekmat
Copy link
Contributor

phekmat commented Feb 15, 2018

Terraform Version

Terraform v0.10.7
Azure v1.1.1

Affected Resource(s)

  • azurerm_sql_database

Expected Behavior

Changing the collation on an Azure SQL DB when the create_mode is default should create a new DB with the new collation

Actual Behavior

Terraform reports a success, but the collation is unchanged

Important Factoids

The other DB types (azurerm_postgresql_database and azurerm_mysql_database) create a new resource when the collation changes as well. I'm not sure if I'm missing any nuances around Azure SQL's collation option (since it's ignored if create_mode is not Default) or if this is just a straightforward change to the schema to add ForceNew: true.

@achandmsft achandmsft added this to the 1.4.0 milestone Mar 8, 2018
@tombuildsstuff tombuildsstuff modified the milestones: 1.4.0, Temp/To Be Sorted Apr 17, 2018
@katbyte
Copy link
Collaborator

katbyte commented Apr 17, 2018

Closing this as it seems to have been fixed by #1066

@katbyte katbyte closed this as completed Apr 17, 2018
@katbyte katbyte modified the milestones: Temp/To Be Sorted, 1.3.3 May 9, 2018
@ghost
Copy link

ghost commented Mar 31, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 31, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants