Skip to content

Commit

Permalink
Relax naming restrictions on to allow 40 characters (#1071)
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 authored Aug 12, 2020
1 parent dc13898 commit c4afd14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ CHANGELOG

## HEAD (Unreleased)
* Upgrade to v3.1.0 of the AWS Terraform Provider
* Relax naming restrictions on `elasticache.ReplicationGroup` `replicationGroupId` to allow 40 characters as per
[AWS docs](https://docs.aws.amazon.com/cli/latest/reference/elasticache/create-replication-group.html)

---

Expand Down
2 changes: 1 addition & 1 deletion provider/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ func Provider() tfbridge.ProviderInfo {
"aws_elasticache_replication_group": {
Tok: awsResource(elasticacheMod, "ReplicationGroup"),
Fields: map[string]*tfbridge.SchemaInfo{
"replication_group_id": tfbridge.AutoNameTransform("replicationGroupId", 20, strings.ToLower),
"replication_group_id": tfbridge.AutoNameTransform("replicationGroupId", 40, strings.ToLower),
},
},
"aws_elasticache_security_group": {
Expand Down

0 comments on commit c4afd14

Please sign in to comment.