Skip to content
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

Disable lateinit for enabledCloudwatchLogsExports in rds Cluster #1644

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apis/rds/v1beta1/zz_cluster_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/rds/v1beta2/zz_cluster_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/rds/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ func Configure(p *config.Provider) { //nolint:gocyclo
}
return diff, nil
}
r.LateInitializer = config.LateInitializer{
IgnoredFields: []string{"enabled_cloudwatch_logs_exports"},
}
})

p.AddResourceConfigurator("aws_rds_cluster_instance", func(r *config.Resource) {
Expand Down
4 changes: 2 additions & 2 deletions examples/rds/v1beta2/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ metadata:
spec:
forProvider:
description: RDS custom cluster parameter group
family: aurora-postgresql15
family: aurora-postgresql16
parameter:
- applyMethod: immediate
name: application_name
Expand All @@ -62,7 +62,7 @@ metadata:
spec:
forProvider:
description: example
family: aurora-postgresql15
family: aurora-postgresql16
parameter:
- applyMethod: immediate
name: application_name
Expand Down
Loading