mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
provider/aws: Fix TestAccAWSElasticacheSecurityGroup_basic test
This commit is contained in:
parent
a258e492cd
commit
e427880684
@ -78,8 +78,10 @@ var testAccAWSElasticacheSecurityGroupConfig = fmt.Sprintf(`
|
|||||||
provider "aws" {
|
provider "aws" {
|
||||||
region = "us-east-1"
|
region = "us-east-1"
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_security_group" "bar" {
|
resource "aws_security_group" "bar" {
|
||||||
name = "tf-test-security-group-%03d"
|
name = "tf-test-security-group-%03d"
|
||||||
|
|
||||||
ingress {
|
ingress {
|
||||||
from_port = -1
|
from_port = -1
|
||||||
to_port = -1
|
to_port = -1
|
||||||
@ -90,7 +92,6 @@ resource "aws_security_group" "bar" {
|
|||||||
|
|
||||||
resource "aws_elasticache_security_group" "bar" {
|
resource "aws_elasticache_security_group" "bar" {
|
||||||
name = "tf-test-security-group-%03d"
|
name = "tf-test-security-group-%03d"
|
||||||
description = "tf-test-security-group-descr"
|
|
||||||
security_group_names = ["${aws_security_group.bar.name}"]
|
security_group_names = ["${aws_security_group.bar.name}"]
|
||||||
}
|
}
|
||||||
`, acctest.RandInt(), acctest.RandInt())
|
`, acctest.RandInt(), acctest.RandInt())
|
||||||
|
Loading…
Reference in New Issue
Block a user