opentofu/website/source/docs
Martin Atkins 4ae3a17eab aws_elasticache_subnet_group normalizes name to lowercase.
The Elasticache API accepts a mixed-case subnet name on create, but
normalizes it to lowercase before storing it. When retrieving a subnet,
the name is treated as case-sensitive, so the lowercase version must be
used.

Given that case within subnet names is not significant, the new StateFunc
on the name attribute causes the state to reflect the lowercase version
that the API uses, and changes in case alone will not show as a diff.

Given that we must look up subnet names in lower case, we set the
instance id to be a lowercase version of the user's provided name. This
then allows a later Refresh call to succeed even if the user provided
a mixed-case name.

Previously users could work around this by just avoiding putting uppercase
letters in the name, but that is often inconvenient if e.g. the name is
being constructed from variables defined elsewhere that may already have
uppercase letters present.
2015-09-03 10:03:35 -07:00
..
commands docs: Fix typo (hyphen -> underscore) in remote-config 2015-08-29 11:30:11 +01:00
configuration Merge pull request #2704 from thegedge/add-index-function 2015-08-12 17:07:49 -05:00
internals core: module targeting 2015-05-05 21:58:48 -05:00
modules docs: clarify ssh git module source syntax 2015-05-29 21:15:55 -05:00
plugins Responding to feedback 2015-07-19 14:15:56 -04:00
providers aws_elasticache_subnet_group normalizes name to lowercase. 2015-09-03 10:03:35 -07:00
provisioners update markdown 2015-07-09 10:13:54 -04:00
state Fixes incorrect usage of terraform_remote_state in docs 2015-06-23 00:56:18 -04:00
index.html.markdown Add meta descriptions to all pages 2014-10-21 23:21:56 -04:00