Skip to content

Instantly share code, notes, and snippets.

@tedder
Created October 19, 2017 15:54
Show Gist options
  • Save tedder/6e8ab691e49f176294f7fbcdbc9921f0 to your computer and use it in GitHub Desktop.
Save tedder/6e8ab691e49f176294f7fbcdbc9921f0 to your computer and use it in GitHub Desktop.
{
"Statement" : [
{
"Effect" : "Deny",
"Action" : "Update:*",
"Principal": "*",
"Resource" : "*",
"Condition" : {
"StringEquals" : {
"ResourceType" : ["AWS::RDS::DBInstance"]
}
}
},
{
"Effect" : "Allow",
"Action" : "Update:*",
"Principal": "*",
"Resource" : "*"
}
]
}
---
AWSTemplateFormatVersion: '2010-09-09'
Description: test
Resources:
TestSG:
Type: AWS::EC2::SecurityGroup
Properties:
GroupDescription: test
---
- hosts: localhost
connection: local
tasks:
- cloudformation:
stack_name: issue31931
region: "us-west-2"
template: stack_template.yml
stack_policy: stack_policy.json
#template_parameters:
# env: "{{ aws_shop_env }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment