Skip to content

Instantly share code, notes, and snippets.

View dbuduev's full-sized avatar

dbuduev

  • Cerbos
  • Auckland, New Zealand
  • 03:56 (UTC +12:00)
View GitHub Profile
@alanwill
alanwill / aws-cfn-self-referencing-sg.json
Last active January 18, 2024 17:00
AWS CloudFormation example that allows a security group rule to reference the same security group as the source.
{
"Description": "Create a VPC with a SG which references itself",
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"vpctester": {
"Type": "AWS::EC2::VPC",
"Properties": {
"CidrBlock": "172.16.0.0/23",
"EnableDnsSupport": false,
"EnableDnsHostnames": false,