File tree Expand file tree Collapse file tree 1 file changed +0
-42
lines changed Expand file tree Collapse file tree 1 file changed +0
-42
lines changed Original file line number Diff line number Diff line change @@ -63,45 +63,3 @@ run "amazon_issued_certificates_attributes_match" {
6363 error_message = " Tags mismatch"
6464 }
6565}
66-
67- run "imported_certificates_attributes_match" {
68- command = plan
69-
70- module {
71- source = " ./modules/acm"
72- }
73-
74- variables {
75- imported_certificates = {
76- example = {
77- private_key = " example_private_key"
78- certificate_body = " example_certificate_body"
79- certificate_chain = " example_certificate_chain"
80-
81- tags = {
82- Example = " Tag"
83- }
84- }
85- }
86- }
87-
88- assert {
89- condition = aws_acm_certificate. imported [" example" ]. private_key == var. imported_certificates . example . private_key
90- error_message = " Private key mismatch"
91- }
92-
93- assert {
94- condition = aws_acm_certificate. imported [" example" ]. certificate_body == var. imported_certificates . example . certificate_body
95- error_message = " Certificate body mismatch"
96- }
97-
98- assert {
99- condition = aws_acm_certificate. imported [" example" ]. certificate_chain == var. imported_certificates . example . certificate_chain
100- error_message = " Certificate chain mismatch"
101- }
102-
103- assert {
104- condition = aws_acm_certificate. imported [" example" ]. tags == var. imported_certificates . example . tags
105- error_message = " Tags mismatch"
106- }
107- }
You can’t perform that action at this time.
0 commit comments