Please vote on this issue by adding a :thumbsup: reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Description
I would be great to have support to add postBuild substitutions in the azurerm_flux_configuration resource. Presently, this can be done using a patch request to the API but this is not ideal. The setting is also not yet exposed in the azure cli or azure portal.
Is there an existing issue for this?
Community Note
Description
I would be great to have support to add postBuild substitutions in the azurerm_flux_configuration resource. Presently, this can be done using a patch request to the API but this is not ideal. The setting is also not yet exposed in the azure cli or azure portal.
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/kubernetes_flux_configuration#kustomizations
This is the api endpoint that can be used https://learn.microsoft.com/en-us/rest/api/kubernetesconfiguration/flux-configurations/update?view=rest-kubernetesconfiguration-2023-05-01&tabs=HTTP#kustomizationpatchdefinition
Here is an example request:
New or Affected Resource(s)/Data Source(s)
azurerm_kubernetes_flux_configuration
Potential Terraform Configuration
References
No response