Skip to content

Commit 85009ce

Browse files
authored
Add immutable tag to AvailabilityZone in DBInstance (#79)
Issue #, if available:[ issue-1138 ](aws-controllers-k8s/community#1138) Description of changes: Add is_immutable = true for AvailabilityZone in DBInstance CRD. AvailabilityZone is not able to be changed after db instance is created. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 28d527c commit 85009ce

File tree

6 files changed

+66
-8
lines changed

6 files changed

+66
-8
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2022-05-27T02:20:26Z"
3-
build_hash: c651d2bb60694df1f7a5dad823258472a1a6fc8a
2+
build_date: "2022-05-27T18:41:36Z"
3+
build_hash: 6acf40fe3e3cfd97b799ef7cbf1e89e01c3db8f7
44
go_version: go1.18.2
5-
version: v0.18.4-12-gc651d2b
6-
api_directory_checksum: 5e8e1929ea3e768826601ad5737bcf14bcfc4977
5+
version: v0.18.4-15-g6acf40f
6+
api_directory_checksum: 68d22d197b3187ea9f81567aca22f0a95ceaf00a
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.42.0
99
generator_config_info:
10-
file_checksum: 18450c6db05caecfb0d53eec6fdbd80f3f0ce502
10+
file_checksum: 89eb9928dcfbe0af48b80281c4fbe934cd7ddb23
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ resources:
160160
fields:
161161
AvailabilityZone:
162162
late_initialize: {}
163+
is_immutable: true
163164
DBInstanceIdentifier:
164165
is_primary_key: true
165166
# Because the Create input and Create/Update/ReadOne output shapes for

apis/v1alpha1/types.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/zz_generated.deepcopy.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generator.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ resources:
160160
fields:
161161
AvailabilityZone:
162162
late_initialize: {}
163+
is_immutable: true
163164
DBInstanceIdentifier:
164165
is_primary_key: true
165166
# Because the Create input and Create/Update/ReadOne output shapes for

pkg/resource/db_instance/sdk.go

Lines changed: 56 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)