Skip to content

Commit

Permalink
fixing acc test
Browse files Browse the repository at this point in the history
  • Loading branch information
slapula committed Oct 12, 2018
1 parent 8d96c00 commit c3c906d
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions aws/data_source_aws_ecr_lifecycle_policy_document_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,13 @@ var testAccAWSEcrLifecyclePolicyDocumentConfig = `
data "aws_ecr_lifecycle_policy_document" "test" {
rule {
priority = 1
description = "This is a test."
tag_status = "tagged"
tag_prefix_list = ["prod"]
count_type = "imageCountMoreThan"
count_number = 100
description = "This is a test."
selection = {
tag_status = "tagged"
tag_prefix_list = ["prod"]
count_type = "imageCountMoreThan"
count_number = 100
}
}
}
`
Expand All @@ -66,15 +68,17 @@ var testAccAWSEcrLifecyclePolicyDocumentExpectedJSON = `{
{
"rulePriority": 1,
"description": "This is a test.",
"selection": [
"selection": {
"tagStatus": "tagged",
"tagPrefixList": ["prod"],
"tagPrefixList": [
"prod"
],
"countType": "imageCountMoreThan",
"countNumber": 100
],
"action": [
},
"action": {
"type": "expire"
]
}
}
]
}`

0 comments on commit c3c906d

Please sign in to comment.