Created
December 9, 2014 22:20
-
-
Save adamreese/79995b096183855a07be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f = Awsm.smithy.firewalls.create(data: {database: true}, location: "us-east-1", provider: p.provisioned, name: "myfirewall") | |
firewall = f.resource! | |
ds = Awsm.smithy.database_servers.create(provisioned_id: "postgres", engine: "mysql", version: "5.6", username: "root", | |
password: SecureRandom.hex(10), flavor: "db.m3.medium", storage: 20, | |
location: "us-east-1d", provider_id: p.provisioned.id, firewall: firewall) | |
ds.resource! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OMG!!!! This is awesome