-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for using latest correct build deployment for Azure Spring Apps #20980
Comments
Generatlly, I agree with the "Potential Terraform Configuration" provided by @manicminer . According to currently API spec, my suggestion is having a data resource for cc @ms-henglu @smile37773 @showpune
|
Hi is this feature being implemented or is there a work around right now which we can use to get the latest correct build? |
@smile37773, can you help to update here? |
Yes, you can get the latest result id by calling the GET API of the build. You can get the |
Looks like the data is not added yet. You can try the
|
@yuwzho , is it possible to change the behavior of Ideally the steps to follow would be:
|
Is there an existing issue for this?
Community Note
Description
When using
azurerm_spring_cloud_build_deployment
it is necessary to specifybuild_result_id
. It is possible to specify a build id, but there is no way to retrieve that value using terraform. Another option is specifying<default>
. The problem with the default value is that it is not the latest or the current deployment, causing a kind of uninstallation of the application. In my environment it causes the application to stop working.Some proposals:
<default>
to do not change the current deployment or provide another value,<latest>
to use the latest correct version.New or Affected Resource(s)/Data Source(s)
azurerm_spring_cloud_build_deployment, azurerm_spring_cloud_build
Potential Terraform Configuration
References
No response
The text was updated successfully, but these errors were encountered: