terraform-provider-cloudfoundry
terraform-provider-cloudfoundry copied to clipboard
Blue Green Deployment : id_bg doesnt update the app id to latest version
Found an issue while deploying using blue green strategy using 0.50.4 version of the terraform provider
id_bg gives the app id value for the old app, it doesn't update the value to the updated version of the app.
This leads to issues for network_policy creation as policies are not created as old application is deleted after upgrade.
Found this issue in version 0.50.4 of the provider.
Same issue here As an ugly workaround, I had to completely delete then redeploy the app for the terraform deployment to converge
I was unable to reproduce the issue locally, can you please share with me the steps to reproduce as well as your configuration?
We faced the issue in below scenario:
- Deploy two applications.
- Get bg_id of one app as output and pass it is as an input to another app.
- Create network policy between both the apps.
- Network policy will be created using app I'd of older version app id of first app, not the updated version's app id.