Re-creation OR Modification of the aws_elastic_beanstalk_environment resource
Actual Behavior
Nothing. Creating an aws_elastic_beanstalk_environment resource with cname_prefix and then removing (commenting out or deleting the attribute) results in "Matched Configuration"
ElasticBeanstalk's resource has a number of "bugs" and "issues", and we've had to work around quite a few of them. Name being modified on every apply (well, which fails), etc.
EDIT: Added code block to relevant resource. Assumed it would automatically by the form.
References
19679 is also happening. There I removed the cname_prefix attribute and was expecting a re-creation/replacement of the resource, or at least a modification of the resource.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.3.9
AWS Provider Version
4.58.0
Affected Resource(s)
aws_elastic_beanstalk_environment
Expected Behavior
Re-creation OR Modification of the
aws_elastic_beanstalk_environment
resourceActual Behavior
Nothing. Creating an
aws_elastic_beanstalk_environment
resource withcname_prefix
and then removing (commenting out or deleting the attribute) results in "Matched Configuration"Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Remove Attribute:
cname_prefix = "${local.cust}-${local.env}-APP-Environment"
Debug Output
No response
Panic Output
No response
Important Factoids
ElasticBeanstalk's resource has a number of "bugs" and "issues", and we've had to work around quite a few of them.
Name
being modified on every apply (well, which fails), etc.EDIT: Added code block to relevant resource. Assumed it would automatically by the form.
References
19679 is also happening. There I removed the
cname_prefix
attribute and was expecting a re-creation/replacement of the resource, or at least a modification of the resource.Would you like to implement a fix?
None