Difference between revisions of "ResourceAlreadyExistsException"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
+ | |||
+ | resource "[[aws_cloudwatch_log_group]]" "your_cw_group" { | ||
+ | [[name =]] "your-old-${var.env}-cw" | ||
+ | } | ||
== See also == | == See also == | ||
+ | * {{aws_cloudwatch_log_group}} | ||
* {{tf apply}} | * {{tf apply}} | ||
[[Category:Terraform]] | [[Category:Terraform]] |
Latest revision as of 19:22, 29 May 2023
Error: creating CloudWatch Logs Log Group (/ecs/your-env/your-log-group): ResourceAlreadyExistsException: The specified log group already exists
resource "aws_cloudwatch_log_group" "your_cw_group" { name = "your-old-${var.env}-cw" }
See also[edit]
Advertising: