Merge pull request #3488 from hashicorp/b-aws-sgrule-migrate-test
update migration test
This commit is contained in:
commit
8df9d706fb
|
@ -27,7 +27,7 @@ func TestAWSSecurityGroupRuleMigrateState(t *testing.T) {
|
||||||
"from_port": "0",
|
"from_port": "0",
|
||||||
"source_security_group_id": "sg-11877275",
|
"source_security_group_id": "sg-11877275",
|
||||||
},
|
},
|
||||||
Expected: "sg-2889201120",
|
Expected: "sgrule-2889201120",
|
||||||
},
|
},
|
||||||
"v0_2": {
|
"v0_2": {
|
||||||
StateVersion: 0,
|
StateVersion: 0,
|
||||||
|
@ -44,7 +44,7 @@ func TestAWSSecurityGroupRuleMigrateState(t *testing.T) {
|
||||||
"cidr_blocks.2": "172.16.3.0/24",
|
"cidr_blocks.2": "172.16.3.0/24",
|
||||||
"cidr_blocks.3": "172.16.4.0/24",
|
"cidr_blocks.3": "172.16.4.0/24",
|
||||||
"cidr_blocks.#": "4"},
|
"cidr_blocks.#": "4"},
|
||||||
Expected: "sg-1826358977",
|
Expected: "sgrule-1826358977",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue