-
-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Labels
bug🐛 An issue with the system🐛 An issue with the system
Description
Describe the Bug
aws_cloudwatch_log_group
resource should respect the context.enabled flag.
Right now I have to set cloudwatch_log_group_enabled
as well as enabled
to false
to destroy all the resources.
Expected Behavior
Setting up the enabled
flag from the context should be enough to deprovision all the resources.
Steps to Reproduce
- Deploy this module to your AWS cloud.
- In next iteration, set the
enabled
flag to false - Run the terraform apply command
- See error:
Error: "name" isn't a valid log group name (alphanumeric characters, underscores, hyphens, slashes, hash signs and dots are allowed): ""
with aws_cloudwatch_log_group.app[0],
on main.tf line 18, in resource "aws_cloudwatch_log_group" "app":
18: name = module.this.id
Metadata
Metadata
Assignees
Labels
bug🐛 An issue with the system🐛 An issue with the system