1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
In the console, I just tested the below template, and it worked as expected. If the fields, didn't match, I was unable to proceed, if they did I was able to create a stack from the template.
AWSTemplateFormatVersion: 2010-09-09
Parameters:
AdminPassword:
Type: String
ConfirmAdminPassword:
Type: String
Rules:
ConfirmPasswordsMatch:
Assertions:
- Assert:
Fn::Equals:
- !Ref AdminPassword
- !Ref ConfirmAdminPassword
AssertDescription: Passwords do not match
Resources:
myVPC:
Type: AWS::EC2::VPC
Properties:
CidrBlock: 10.0.0.0/16
EnableDnsSupport: 'true'
EnableDnsHostnames: 'true'
Tags:
- Key: stack
Value: test
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren