diff --git a/templates/quickstart-hashicorp-vault-master.template b/templates/quickstart-hashicorp-vault-master.template index 70dbc2b..6ddadee 100644 --- a/templates/quickstart-hashicorp-vault-master.template +++ b/templates/quickstart-hashicorp-vault-master.template @@ -484,13 +484,13 @@ Outputs: Rules: DomainNamePresentWithHostedID: RuleCondition: - !Equals [ !Ref HostedZoneID, '' ] + !Not [!Equals [ !Ref HostedZoneID, '' ]] Assertions: - Assert: !Not [!Equals [!Ref DomainName, '']] AssertDescription: "Please specify a 'Domain Name' if you specify 'Route 53 Hosted Zone ID'" HostedIDPresentWithDomainName: RuleCondition: - !Equals [ !Ref DomainName, '' ] + !Not [!Equals [ !Ref DomainName, '' ]] Assertions: - Assert: !Not [!Equals [!Ref HostedZoneID, '']] AssertDescription: "Please specify a 'Route 53 Hosted Zone ID' if you specify 'Domain Name'" @@ -507,4 +507,4 @@ Rules: - !Not [!Equals [!Ref HostedZoneID, '']] - !Not [!Equals [!Ref ACMSSLCertificateArn, '']] - !Not [!Equals [!Ref DomainName, '']] - AssertDescription: "Using an SSL certificate is enforced. A CertificateArn or a HostedZoneID and Domain Name must be provided." \ No newline at end of file + AssertDescription: "Using an SSL certificate is enforced. A CertificateArn or a HostedZoneID and Domain Name must be provided."