Sha256: 01a523824c3643b2bc76812f4357481322baa1046b883a4c69a2daf48b38b765

Contents?: true

Size: 704 Bytes

Versions: 11

Compression:

Stored size: 704 Bytes

Contents

#!/usr/bin/env ruby

require "bundler/setup"
require "openstax_aws"

REGION = 'us-east-2'

OpenStax::Aws.configure do |config|
  config.cfn_template_bucket_name = "openstax-sandbox-cfn-templates"
  config.cfn_template_bucket_region = "us-west-2"
  config.stack_waiter_delay = 10
  config.fixed_s3_template_folder = "spec-templates"
end

stack = OpenStax::Aws::Stack.new({
  name: "aws-ruby-development",
  region: REGION,
  absolute_template_path: File.join(__dir__, "templates/aws_ruby_development.yml"),
  dry_run: false,
})

stack.create(wait: true, params: {
  unique_name: "aws-ruby-dev-env",
  image_id: "ami-0510c89f1a2691cf2", # See bin/get_latest_ubuntu_ami
  key_name: "openstax-sandbox-kp"
})

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
openstax_aws-2.1.0 bin/create_development_environment
openstax_aws-2.0.1 bin/create_development_environment
openstax_aws-2.0.0 bin/create_development_environment
openstax_aws-1.6.1 bin/create_development_environment
openstax_aws-1.6.0 bin/create_development_environment
openstax_aws-1.5.0 bin/create_development_environment
openstax_aws-1.4.0 bin/create_development_environment
openstax_aws-1.3.0 bin/create_development_environment
openstax_aws-1.2.0 bin/create_development_environment
openstax_aws-1.1.0 bin/create_development_environment
openstax_aws-1.0.0 bin/create_development_environment