We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Namespace
1 parent 4a1923f commit 8505a0aCopy full SHA for 8505a0a
main.tf
@@ -324,8 +324,9 @@ resource "aws_security_group" "default" {
324
locals {
325
// Remove `Name` tag from the map of tags because Elastic Beanstalk generates the `Name` tag automatically
326
// and if it is provided, terraform tries to recreate the application on each `plan/apply`
327
+ // `Namespace` should be removed as well since any string that contains `Name` forces recreation
328
// https://github.com/terraform-providers/terraform-provider-aws/issues/3963
- tags = { for t in keys(module.label.tags) : t => module.label.tags[t] if t != "Name" }
329
+ tags = { for t in keys(module.label.tags) : t => module.label.tags[t] if t != "Name" && t != "Namespace" }
330
331
elb_settings = [
332
{
0 commit comments