Skip to content

Commit fd7d100

Browse files
committed
support Tags field for all resources (on create)
Re-adds support for the Tags field on all resources. Support only includes tag on create operations due to the separate Tagris API calls that need to be made when updating a resource's tags. Signed-off-by: Jay Pipes <jaypipes@gmail.com>
1 parent 92fb134 commit fd7d100

34 files changed

+440
-31
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
ack_generate_info:
2-
build_date: "2021-09-01T07:31:19Z"
2+
build_date: "2021-09-09T16:38:44Z"
33
build_hash: 6f22b7b568e25b4ee007bb1ab5f9338c16daf172
4-
go_version: go1.15.2 darwin/amd64
4+
go_version: go1.17 linux/amd64
55
version: v0.13.0
6-
api_directory_checksum: 55bda024573f683b8982a0a13e1bf9041bad0d13
6+
api_directory_checksum: 61b2df8f262699f3e6192266696b62f61d5f5f72
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.38.52
99
generator_config_info:
10-
file_checksum: 7700b908b185617f036c6d6a04e0d16f9d9cca11
10+
file_checksum: 7b2450f876b22fb4dcf8b62a2b219b2631c52697
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation
14-
timestamp: 2021-09-01 07:31:28.178382 +0000 UTC
14+
timestamp: 2021-09-09 16:38:48.63271762 +0000 UTC

apis/v1alpha1/cache_parameter_group.go

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

apis/v1alpha1/cache_subnet_group.go

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

apis/v1alpha1/generator.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -216,11 +216,5 @@ ignore:
216216
- ModifyReplicationGroupInput.SecurityGroupIds
217217
- ModifyReplicationGroupInput.EngineVersion
218218
- CreateReplicationGroupInput.GlobalReplicationGroupId
219-
- CreateSnapshotInput.Tags
220-
- CreateCacheParameterGroupInput.Tags
221-
- CreateCacheSubnetGroupInput.Tags
222-
- CreateReplicationGroupInput.Tags
223-
- CreateUserInput.Tags
224-
- CreateUserGroupInput.Tags
225219
- CreateReplicationGroupInput.AutoMinorVersionUpgrade
226-
- CreateReplicationGroupInput.NumCacheClusters
220+
- CreateReplicationGroupInput.NumCacheClusters

apis/v1alpha1/replication_group.go

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

apis/v1alpha1/snapshot.go

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

apis/v1alpha1/user.go

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

apis/v1alpha1/user_group.go

Lines changed: 3 additions & 0 deletions
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: 67 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/elasticache.services.k8s.aws_cacheparametergroups.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,25 @@ spec:
6666
type: string
6767
type: object
6868
type: array
69+
tags:
70+
description: A list of tags to be added to this resource. A tag is
71+
a key-value pair. A tag key must be accompanied by a tag value,
72+
although null is accepted.
73+
items:
74+
description: A tag that can be added to an ElastiCache cluster or
75+
replication group. Tags are composed of a Key/Value pair. You
76+
can use tags to categorize and track all your ElastiCache resources,
77+
with the exception of global replication group. When you add or
78+
remove tags on replication groups, those actions will be replicated
79+
to all nodes in the replication group. A tag with a null Value
80+
is permitted.
81+
properties:
82+
key:
83+
type: string
84+
value:
85+
type: string
86+
type: object
87+
type: array
6988
required:
7089
- cacheParameterGroupFamily
7190
- cacheParameterGroupName

0 commit comments

Comments
 (0)