31 releases

0.2.28 Sep 29, 2023
0.2.25 Jan 5, 2023
0.2.24 Feb 10, 2022
0.2.23 Aug 16, 2021
0.2.7 Nov 27, 2020

#381 in Network programming

GPL-3.0 license

84KB
2K SLoC

sfn-ng

FOSSA Status

Example Stack Config:

require 'attribute_struct'

AttributeStruct.new do
  region 'eu-central-1'
  tags do
    Projekt 'tgw'
  end
  template 'out/tgw.json'
  
  parameters do
    env 'dev'
  end
  apply_stacks %w[
    DEV-VPC-EU
    us_east_1__DEV-VPC-USA
  ]
  
  apply_mappings do
    vpc_cidr_usa do
      region 'us-east-1'
      stack_name 'DEV-VPC-USA'
      output_name 'VpcCidr'
    end
    vpc_cidr_eu do
      region 'eu-central-1'
      stack_name 'DEV-VPC-EU'
      output_name 'VpcCidr'
    end
  end
end

Dependencies

~23–36MB
~554K SLoC