Skip to content

Commit

Permalink
Merge pull request #907 from crossplane-contrib/backport-906-to-relea…
Browse files Browse the repository at this point in the history
…se-1.10

[Backport release-1.10] Ignore lateinitialize for secret field in the ContainerApp resource
  • Loading branch information
turkenf authored Dec 26, 2024
2 parents fdc7e7c + cca7dd7 commit c102713
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions apis/containerapp/v1beta1/zz_containerapp_terraformed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions apis/containerapp/v1beta2/zz_containerapp_terraformed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions config/containerapp/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ func Configure(p *config.Provider) {
r.ShortGroup = group
r.TerraformResource.Schema["secret"].Elem.(*schema.Resource).
Schema["name"].Sensitive = true
r.LateInitializer = config.LateInitializer{
IgnoredFields: []string{"secret"},
}
})

p.AddResourceConfigurator("azurerm_container_app_environment", func(r *config.Resource) {
Expand Down

0 comments on commit c102713

Please sign in to comment.