Fully Expand Elasticache Cluster and Replication Group Resource Schemas #4828
Labels
service/elasticache
Issues and PRs that pertain to the elasticache service.
technical-debt
Addresses areas of the codebase that need refactoring or redesign.
Milestone
Currently the
aws_elasticache_cluster
andaws_elasticache_replication_group
resource schemas are generated by functions:https://github.com/terraform-providers/terraform-provider-aws/blob/7a46d54b4fe593735db4daa118fe30353a0cdd62/aws/resource_aws_elasticache_cluster.go#L21-L243
https://github.com/terraform-providers/terraform-provider-aws/blob/7a46d54b4fe593735db4daa118fe30353a0cdd62/aws/resource_aws_elasticache_replication_group.go#L16-L132
The result is a complicated structure to create a working mental model of what the schema actually is for each attribute, especially when there are bits like this mixed in:
Let's just expand each of the resource schemas so no mental gymnastics are required. Tangentially this would also help make the schema more lint-able without runtime handling.
The text was updated successfully, but these errors were encountered: