Skip to content

Commit 123c5c8

Browse files
ack-botrushmash91
authored andcommitted
Add GlobalReplicationGroup to elasticache
1 parent 9b0f0e8 commit 123c5c8

38 files changed

+3160
-179
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ack_generate_info:
2-
build_date: "2025-08-08T21:25:54Z"
3-
build_hash: b4fbf4e427daaef74ed873aac01e4a9ca68fb479
4-
go_version: go1.24.5
5-
version: v0.50.0-3-gb4fbf4e
6-
api_directory_checksum: 5a16cea62c98405d3786f1ee1aad22ff3fafc7d6
2+
build_date: "2025-08-27T23:22:35Z"
3+
build_hash: 1045a5e99038b11b0630ca2f2f69c3bae4bedba6
4+
go_version: go1.25.0
5+
version: v0.51.0-1-g1045a5e
6+
api_directory_checksum: 56b9a489a72e4cc8e1d7fe3648fbfa515ab180d6
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.32.6
99
generator_config_info:
10-
file_checksum: a3aa9d437d76c0a739168005043783103bf199da
10+
file_checksum: 8fe61e100e579320fd6d57d443a30682011b3b8f
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation

apis/v1alpha1/generator.yaml

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,37 @@ resources:
116116
hooks:
117117
sdk_read_many_post_set_output:
118118
template_path: hooks/cache_subnet_group/sdk_read_many_post_set_output.go.tpl
119+
GlobalReplicationGroup:
120+
fields:
121+
GlobalReplicationGroupId:
122+
is_primary_key: true
123+
GlobalReplicationGroupIdSuffix:
124+
is_immutable: true
125+
PrimaryReplicationGroupId:
126+
is_immutable: true
127+
references:
128+
resource: ReplicationGroup
129+
path: Spec.ReplicationGroupID
130+
Tags:
131+
from:
132+
operation: ListTagsForResource
133+
path: TagList
134+
exceptions:
135+
errors:
136+
404:
137+
code: GlobalReplicationGroupNotFoundFault
138+
terminal_codes:
139+
- GlobalReplicationGroupAlreadyExistsFault
140+
- InvalidParameterValueException
141+
- InvalidGlobalReplicationGroupStateFault
142+
- ServiceLinkedRoleNotFoundFault
143+
hooks:
144+
sdk_create_post_set_output:
145+
template_path: hooks/global_replication_group/sdk_create_post_set_output.go.tpl
146+
sdk_update_pre_build_request:
147+
template_path: hooks/global_replication_group/sdk_update_pre_build_request.go.tpl
148+
sdk_read_one_post_set_output:
149+
template_path: hooks/global_replication_group/sdk_read_one_post_set_output.go.tpl
119150
ReplicationGroup:
120151
exceptions:
121152
terminal_codes:
@@ -387,10 +418,12 @@ operations:
387418
set_output_custom_method_name: customModifyCacheClusterSetOutput
388419
override_values:
389420
ApplyImmediately: aws.Bool(true)
421+
ModifyGlobalReplicationGroup:
422+
override_values:
423+
ApplyImmediately: aws.Bool(true)
390424
ignore:
391425
resource_names:
392426
- ServerlessCacheSnapshot
393-
- GlobalReplicationGroup
394427
- CacheSecurityGroup
395428
field_paths:
396429
- DescribeSnapshotsInput.CacheClusterId
@@ -428,4 +461,4 @@ ignore:
428461
- ModifyReplicationGroupOutput.ReplicationGroup.ClusterMode
429462
- ModifyReplicationGroupOutput.ReplicationGroup.PendingModifiedValues.ClusterMode
430463
- Subnet.SupportedNetworkTypes
431-
- CreateReplicationGroupInput.ServerlessCacheSnapshotName
464+
- CreateReplicationGroupInput.ServerlessCacheSnapshotName

apis/v1alpha1/global_replication_group.go

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

apis/v1alpha1/types.go

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

0 commit comments

Comments
 (0)