fix up cloudformation test checks
This commit is contained in:
parent
0530cf963d
commit
88ed387bd6
|
@ -66,7 +66,7 @@ func TestAccAWSCloudFormation_allAttributes(t *testing.T) {
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "capabilities.1328347040", "CAPABILITY_IAM"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "capabilities.1328347040", "CAPABILITY_IAM"),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "disable_rollback", "false"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "disable_rollback", "false"),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "notification_arns.#", "1"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "notification_arns.#", "1"),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "parameters.#", "1"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "parameters.%", "1"),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "parameters.VpcCIDR", "10.0.0.0/16"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "parameters.VpcCIDR", "10.0.0.0/16"),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "policy_body", expectedPolicyBody),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "policy_body", expectedPolicyBody),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "tags.%", "2"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "tags.%", "2"),
|
||||||
|
@ -84,7 +84,7 @@ func TestAccAWSCloudFormation_allAttributes(t *testing.T) {
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "capabilities.1328347040", "CAPABILITY_IAM"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "capabilities.1328347040", "CAPABILITY_IAM"),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "disable_rollback", "false"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "disable_rollback", "false"),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "notification_arns.#", "1"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "notification_arns.#", "1"),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "parameters.#", "1"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "parameters.%", "1"),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "parameters.VpcCIDR", "10.0.0.0/16"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "parameters.VpcCIDR", "10.0.0.0/16"),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "policy_body", expectedPolicyBody),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "policy_body", expectedPolicyBody),
|
||||||
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "tags.%", "2"),
|
resource.TestCheckResourceAttr("aws_cloudformation_stack.full", "tags.%", "2"),
|
||||||
|
|
Loading…
Reference in New Issue