- How to delete the resources created through CloudFormation?
They can be deleted by deleting the CloudFormation stack
aws cloudformation delete-stack --stack-name <STACK_NAME> --profile <PROFILE> --region <REGION>
- I have created an SQS Queue by running a CloudFormation Stack. After that, I have deleted that SQS Queue. Can I recreate that SQS Queue by running the CloudFormation Stack again?
No, it is not possible. In this case, the SQS can be recreated by creating a new CloudFormation Stack and running it
- How to create a CloudFormation Stack using a yaml template file through AWS CLI?
aws cloudformation create-stack --stack-name <STACK_NAME> --profile <PROFILE> --region <REGION> --template-body file://template.yaml
- How to specify the parameter values in the above command?
aws cloudformation create-stack --stack-name <STACK_NAME> --profile <PROFILE> --region <REGION> --template-body file://template.yaml --parameters ParameterKey=<PARAMETER_KEY>,ParameterValue=<PARAMETER_VALUE>
Comments
Post a Comment