-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Several connection strings in one App Service #651
Comments
I have a similar issue not sure if it's the same. I have 2 Connection Strings in an Azure App Service and each time i run
if i allow this change to happen and run terraform plan again i will get
Please advise |
I have this issue as well where I have 6+ connection strings in single web apps. I currently have this as a workaround:
|
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 👉 [email protected]. Thanks! |
Hi there,
I use Terraform v0.11.1 to create Azure App Service.
Now I have to add 3 different connection strings to the App.
If I use standard approach:
connection_string {
name = "Database"
type = "SQLServer"
value = "Server=mydatabase;Integrated Security=SSPI"
}
connection_string {
name = "Database2"
type = "SQLServer"
value = "Server=mydatabase;Integrated Security=SSPI2"
}
Terrafrom is going to recreate the connection strings each time I run it. As far as I know, this is a well-known issue. We faced the same behavior during creating Security Group Rules in AWS - hashicorp/terraform#11011
So, my question is how we can define several connection_strings in the Application to avoid recreating them.
Thanks.
The text was updated successfully, but these errors were encountered: