Commit 5e998c5c authored by Anton Babenko's avatar Anton Babenko

Using name_prefix instead of name to allow creation of duplicated with...

Using name_prefix instead of name to allow creation of duplicated with create_before_destroy (fix #40)
parent 960189ea
......@@ -4,7 +4,7 @@
resource "aws_security_group" "this" {
count = "${var.create ? 1 : 0}"
name = "${var.name}"
name_prefix = "${var.name}-"
description = "${var.description}"
vpc_id = "${var.vpc_id}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment