Skip to content

Instantly share code, notes, and snippets.

@wondermike-zz
Created February 10, 2016 03:51
Show Gist options
  • Save wondermike-zz/fa7c01e73e1ea59f851d to your computer and use it in GitHub Desktop.
Save wondermike-zz/fa7c01e73e1ea59f851d to your computer and use it in GitHub Desktop.
new_cluster_attrs = Provision::Core::AttributesCopy.new(cluster, http_allowed_ips: ['172.31.0.0/16'], peering_vpcs: [{account_id: '427193441462', vpc_id: 'vpc-f3d67c96', cidr_block: '172.31.0.0/16'}])
Provision::Core::Factory.build(new_cluster_attrs[:provider], new_cluster_attrs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment