openstax_aws 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +19 -0
- data/.travis.yml +12 -0
- data/CHANGELOG.md +11 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +120 -0
- data/LICENSE.txt +1 -0
- data/README.md +927 -0
- data/Rakefile +6 -0
- data/TODO.md +1 -0
- data/assets/secrets_sequence_diagram.png +0 -0
- data/bin/console +14 -0
- data/bin/create_development_environment +26 -0
- data/bin/get_latest_ubuntu_ami +31 -0
- data/bin/setup +8 -0
- data/bin/templates/aws_ruby_development.yml +221 -0
- data/examples/deployment.rb +90 -0
- data/ideas.md +15 -0
- data/lib/openstax/aws/auto_scaling_group.rb +28 -0
- data/lib/openstax/aws/auto_scaling_instance.rb +96 -0
- data/lib/openstax/aws/build_image_command_1.rb +53 -0
- data/lib/openstax/aws/change_set.rb +100 -0
- data/lib/openstax/aws/deployment_base.rb +372 -0
- data/lib/openstax/aws/distribution.rb +56 -0
- data/lib/openstax/aws/ec2_instance_data.rb +18 -0
- data/lib/openstax/aws/extensions.rb +19 -0
- data/lib/openstax/aws/git_helper.rb +18 -0
- data/lib/openstax/aws/image.rb +34 -0
- data/lib/openstax/aws/msk_cluster.rb +19 -0
- data/lib/openstax/aws/packer_1_2_5.rb +63 -0
- data/lib/openstax/aws/packer_1_4_1.rb +72 -0
- data/lib/openstax/aws/packer_factory.rb +25 -0
- data/lib/openstax/aws/rds_instance.rb +25 -0
- data/lib/openstax/aws/s3_text_file.rb +50 -0
- data/lib/openstax/aws/sam_stack.rb +85 -0
- data/lib/openstax/aws/secrets.rb +302 -0
- data/lib/openstax/aws/secrets_factory.rb +126 -0
- data/lib/openstax/aws/secrets_set.rb +21 -0
- data/lib/openstax/aws/secrets_specification.rb +68 -0
- data/lib/openstax/aws/stack.rb +465 -0
- data/lib/openstax/aws/stack_event.rb +28 -0
- data/lib/openstax/aws/stack_factory.rb +153 -0
- data/lib/openstax/aws/stack_parameters.rb +19 -0
- data/lib/openstax/aws/stack_status.rb +125 -0
- data/lib/openstax/aws/system.rb +21 -0
- data/lib/openstax/aws/tag.rb +31 -0
- data/lib/openstax/aws/template.rb +129 -0
- data/lib/openstax/aws/version.rb +5 -0
- data/lib/openstax/aws/wait_message.rb +20 -0
- data/lib/openstax_aws.rb +154 -0
- data/openstax_aws.gemspec +58 -0
- metadata +350 -0
@@ -0,0 +1,20 @@
|
|
1
|
+
module OpenStax::Aws
|
2
|
+
class WaitMessage
|
3
|
+
|
4
|
+
def initialize(message:)
|
5
|
+
@start_time = Time.now
|
6
|
+
@message = message
|
7
|
+
end
|
8
|
+
|
9
|
+
def say_it
|
10
|
+
elapsed_seconds = (Time.now - @start_time).round
|
11
|
+
elapsed_minutes = elapsed_seconds / 60
|
12
|
+
remainder_seconds = elapsed_seconds - (elapsed_minutes * 60)
|
13
|
+
|
14
|
+
OpenStax::Aws.configuration.logger.debug(
|
15
|
+
"#{@message}... (#{elapsed_minutes}m#{remainder_seconds}s elapsed)"
|
16
|
+
)
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
data/lib/openstax_aws.rb
ADDED
@@ -0,0 +1,154 @@
|
|
1
|
+
require "aws-sdk-autoscaling"
|
2
|
+
require "aws-sdk-cloudformation"
|
3
|
+
require "aws-sdk-cloudfront"
|
4
|
+
require "aws-sdk-ec2"
|
5
|
+
require "aws-sdk-kafka"
|
6
|
+
require "aws-sdk-rds"
|
7
|
+
require "aws-sdk-s3"
|
8
|
+
require "aws-sdk-ssm"
|
9
|
+
|
10
|
+
require 'active_support'
|
11
|
+
require 'active_support/core_ext'
|
12
|
+
|
13
|
+
require "pp"
|
14
|
+
|
15
|
+
module OpenStax
|
16
|
+
module Aws
|
17
|
+
|
18
|
+
def self.verify_secrets_populated!
|
19
|
+
if ENV['AWS_ACCESS_KEY_ID'].nil? || ENV['AWS_SECRET_ACCESS_KEY'].nil?
|
20
|
+
raise "AWS key and secret are not both set!"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.verify_template_bucket_access!
|
25
|
+
begin
|
26
|
+
::Aws::S3::Client.new(region: configuration.cfn_template_bucket_region)
|
27
|
+
.head_bucket(bucket: configuration.cfn_template_bucket_name)
|
28
|
+
rescue ::Aws::S3::Errors::Forbidden => ee
|
29
|
+
raise "The provided AWS credentials cannot access the template bucket. Please " \
|
30
|
+
"verify that you are using the correct credentials for the targeted AWS account."
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
def self.configure
|
35
|
+
yield configuration
|
36
|
+
end
|
37
|
+
|
38
|
+
def self.configuration
|
39
|
+
@configuration ||= Configuration.new
|
40
|
+
end
|
41
|
+
|
42
|
+
def self.logger
|
43
|
+
configuration.logger
|
44
|
+
end
|
45
|
+
|
46
|
+
class Configuration
|
47
|
+
attr_writer :cfn_template_bucket_name
|
48
|
+
attr_writer :cfn_template_bucket_region
|
49
|
+
attr_accessor :cfn_template_bucket_folder
|
50
|
+
attr_writer :logger
|
51
|
+
attr_accessor :stack_waiter_delay
|
52
|
+
attr_accessor :stack_waiter_max_attempts
|
53
|
+
attr_accessor :infer_stack_capabilities
|
54
|
+
attr_accessor :infer_parameter_defaults
|
55
|
+
attr_accessor :production_env_name
|
56
|
+
attr_accessor :fixed_s3_template_folder
|
57
|
+
attr_accessor :default_cycle_if_different_parameter
|
58
|
+
attr_writer :required_stack_tags
|
59
|
+
|
60
|
+
def initialize
|
61
|
+
@stack_waiter_delay = 30
|
62
|
+
@stack_waiter_max_attempts = 180
|
63
|
+
@cfn_template_bucket_folder = "cfn_templates"
|
64
|
+
@infer_stack_capabilities = true
|
65
|
+
@infer_parameter_defaults = true
|
66
|
+
@production_env_name = "production"
|
67
|
+
@default_cycle_if_different_parameter = "CycleIfDifferent"
|
68
|
+
@required_stack_tags = %w(Application Environment Owner)
|
69
|
+
end
|
70
|
+
|
71
|
+
def required_stack_tags
|
72
|
+
# Make sure always returned as an array
|
73
|
+
[@required_stack_tags].compact.uniq.flatten
|
74
|
+
end
|
75
|
+
|
76
|
+
def cfn_template_bucket_name
|
77
|
+
raise "cfn_template_bucket_name isn't set!" if @cfn_template_bucket_name.blank?
|
78
|
+
@cfn_template_bucket_name
|
79
|
+
end
|
80
|
+
|
81
|
+
def cfn_template_bucket_region
|
82
|
+
raise "cfn_template_bucket_region isn't set!" if @cfn_template_bucket_region.blank?
|
83
|
+
@cfn_template_bucket_region
|
84
|
+
|
85
|
+
# We used to find the region automagically with the following, but this played some havoc
|
86
|
+
# with recorded test interactions (as it only ran in some tests since memoized). Just
|
87
|
+
# require manual setting now.
|
88
|
+
#
|
89
|
+
# @cfn_template_bucket_region ||= ::Aws::S3::Client.new(region: "us-east-1") # could be any region
|
90
|
+
# .get_bucket_location(bucket: cfn_template_bucket_name)
|
91
|
+
# .location_constraint
|
92
|
+
end
|
93
|
+
|
94
|
+
def logger
|
95
|
+
@logger ||= Logger.new(STDERR).tap do |the_logger|
|
96
|
+
the_logger.formatter = proc do |severity, datetime, progname, msg|
|
97
|
+
date_format = datetime.strftime("%Y-%m-%d %H:%M:%S.%3N")
|
98
|
+
if severity == "INFO" or severity == "WARN"
|
99
|
+
"[#{date_format}] #{severity} | #{msg}\n"
|
100
|
+
else
|
101
|
+
"[#{date_format}] #{severity} | #{msg}\n"
|
102
|
+
end
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# Sometimes you want to make a Stack object without requirng stack tags,
|
108
|
+
# e.g. if you're just inspecting a stack. Wrapping such instantiations
|
109
|
+
# with this method enables this, e.g. without_required_stack_tags do ... end
|
110
|
+
def without_required_stack_tags
|
111
|
+
begin
|
112
|
+
original_required_stack_tags = required_stack_tags
|
113
|
+
self.required_stack_tags = []
|
114
|
+
yield
|
115
|
+
ensure
|
116
|
+
self.required_stack_tags = original_required_stack_tags
|
117
|
+
end
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
124
|
+
require "openstax/aws/extensions"
|
125
|
+
require "openstax/aws/system"
|
126
|
+
require "openstax/aws/tag"
|
127
|
+
require "openstax/aws/version"
|
128
|
+
require "openstax/aws/s3_text_file"
|
129
|
+
require "openstax/aws/wait_message"
|
130
|
+
require "openstax/aws/git_helper"
|
131
|
+
require "openstax/aws/template"
|
132
|
+
require "openstax/aws/distribution"
|
133
|
+
require "openstax/aws/change_set"
|
134
|
+
require "openstax/aws/stack_parameters"
|
135
|
+
require "openstax/aws/secrets_set"
|
136
|
+
require "openstax/aws/secrets_specification"
|
137
|
+
require "openstax/aws/secrets"
|
138
|
+
require "openstax/aws/secrets_factory"
|
139
|
+
require "openstax/aws/stack"
|
140
|
+
require "openstax/aws/sam_stack"
|
141
|
+
require "openstax/aws/stack_event"
|
142
|
+
require "openstax/aws/stack_status"
|
143
|
+
require "openstax/aws/stack_factory"
|
144
|
+
require "openstax/aws/deployment_base"
|
145
|
+
require "openstax/aws/ec2_instance_data"
|
146
|
+
require "openstax/aws/auto_scaling_group"
|
147
|
+
require "openstax/aws/auto_scaling_instance"
|
148
|
+
require "openstax/aws/rds_instance"
|
149
|
+
require "openstax/aws/msk_cluster"
|
150
|
+
require "openstax/aws/packer_1_2_5"
|
151
|
+
require "openstax/aws/packer_1_4_1"
|
152
|
+
require "openstax/aws/packer_factory"
|
153
|
+
require "openstax/aws/build_image_command_1"
|
154
|
+
require "openstax/aws/image"
|
@@ -0,0 +1,58 @@
|
|
1
|
+
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require "openstax/aws/version"
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "openstax_aws"
|
8
|
+
spec.version = OpenStax::Aws::VERSION
|
9
|
+
spec.authors = ["JP Slavinsky"]
|
10
|
+
spec.email = ["jps@kindlinglabs.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{openstax IaC}
|
13
|
+
spec.description = %q{openstax IaC}
|
14
|
+
spec.homepage = "https://github.com/openstax/aws-ruby"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
if spec.respond_to?(:metadata)
|
20
|
+
spec.metadata["allowed_push_host"] = "https://rubygems.org"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
+
"public gem pushes."
|
24
|
+
end
|
25
|
+
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
27
|
+
f.match(%r{^(test|spec|features)/})
|
28
|
+
end
|
29
|
+
spec.bindir = "bin"
|
30
|
+
spec.executables = spec.files.grep(%r{^bin/}).grep_v(%r{/templates/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
|
33
|
+
spec.add_dependency "aws-sdk-autoscaling", "~> 1"
|
34
|
+
spec.add_dependency "aws-sdk-cloudformation", "~> 1"
|
35
|
+
spec.add_dependency "aws-sdk-cloudfront", "~> 1"
|
36
|
+
spec.add_dependency "aws-sdk-ec2", "~> 1"
|
37
|
+
spec.add_dependency "aws-sdk-kafka", "~> 1"
|
38
|
+
spec.add_dependency "aws-sdk-rds", "~> 1"
|
39
|
+
spec.add_dependency "aws-sdk-s3", "~> 1"
|
40
|
+
spec.add_dependency "aws-sdk-ssm", "~> 1"
|
41
|
+
|
42
|
+
spec.add_dependency 'git'
|
43
|
+
spec.add_dependency "activesupport"
|
44
|
+
|
45
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
46
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
47
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
48
|
+
spec.add_development_dependency "byebug"
|
49
|
+
spec.add_development_dependency "awesome_print"
|
50
|
+
spec.add_development_dependency "vcr"
|
51
|
+
spec.add_development_dependency "webmock"
|
52
|
+
spec.add_development_dependency "dotenv"
|
53
|
+
|
54
|
+
end
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
metadata
ADDED
@@ -0,0 +1,350 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: openstax_aws
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- JP Slavinsky
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-10-03 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aws-sdk-autoscaling
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: aws-sdk-cloudformation
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: aws-sdk-cloudfront
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: aws-sdk-ec2
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: aws-sdk-kafka
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: aws-sdk-rds
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: aws-sdk-s3
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: aws-sdk-ssm
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: git
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: activesupport
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: bundler
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '1.16'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '1.16'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rake
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - "~>"
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '13.0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - "~>"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '13.0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rspec
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '3.0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '3.0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: byebug
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: awesome_print
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: vcr
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: webmock
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :development
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: dotenv
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :development
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
description: openstax IaC
|
266
|
+
email:
|
267
|
+
- jps@kindlinglabs.com
|
268
|
+
executables:
|
269
|
+
- console
|
270
|
+
- create_development_environment
|
271
|
+
- get_latest_ubuntu_ami
|
272
|
+
- setup
|
273
|
+
extensions: []
|
274
|
+
extra_rdoc_files: []
|
275
|
+
files:
|
276
|
+
- ".gitignore"
|
277
|
+
- ".travis.yml"
|
278
|
+
- CHANGELOG.md
|
279
|
+
- Gemfile
|
280
|
+
- Gemfile.lock
|
281
|
+
- LICENSE.txt
|
282
|
+
- README.md
|
283
|
+
- Rakefile
|
284
|
+
- TODO.md
|
285
|
+
- assets/secrets_sequence_diagram.png
|
286
|
+
- bin/console
|
287
|
+
- bin/create_development_environment
|
288
|
+
- bin/get_latest_ubuntu_ami
|
289
|
+
- bin/setup
|
290
|
+
- bin/templates/aws_ruby_development.yml
|
291
|
+
- examples/deployment.rb
|
292
|
+
- ideas.md
|
293
|
+
- lib/openstax/aws/auto_scaling_group.rb
|
294
|
+
- lib/openstax/aws/auto_scaling_instance.rb
|
295
|
+
- lib/openstax/aws/build_image_command_1.rb
|
296
|
+
- lib/openstax/aws/change_set.rb
|
297
|
+
- lib/openstax/aws/deployment_base.rb
|
298
|
+
- lib/openstax/aws/distribution.rb
|
299
|
+
- lib/openstax/aws/ec2_instance_data.rb
|
300
|
+
- lib/openstax/aws/extensions.rb
|
301
|
+
- lib/openstax/aws/git_helper.rb
|
302
|
+
- lib/openstax/aws/image.rb
|
303
|
+
- lib/openstax/aws/msk_cluster.rb
|
304
|
+
- lib/openstax/aws/packer_1_2_5.rb
|
305
|
+
- lib/openstax/aws/packer_1_4_1.rb
|
306
|
+
- lib/openstax/aws/packer_factory.rb
|
307
|
+
- lib/openstax/aws/rds_instance.rb
|
308
|
+
- lib/openstax/aws/s3_text_file.rb
|
309
|
+
- lib/openstax/aws/sam_stack.rb
|
310
|
+
- lib/openstax/aws/secrets.rb
|
311
|
+
- lib/openstax/aws/secrets_factory.rb
|
312
|
+
- lib/openstax/aws/secrets_set.rb
|
313
|
+
- lib/openstax/aws/secrets_specification.rb
|
314
|
+
- lib/openstax/aws/stack.rb
|
315
|
+
- lib/openstax/aws/stack_event.rb
|
316
|
+
- lib/openstax/aws/stack_factory.rb
|
317
|
+
- lib/openstax/aws/stack_parameters.rb
|
318
|
+
- lib/openstax/aws/stack_status.rb
|
319
|
+
- lib/openstax/aws/system.rb
|
320
|
+
- lib/openstax/aws/tag.rb
|
321
|
+
- lib/openstax/aws/template.rb
|
322
|
+
- lib/openstax/aws/version.rb
|
323
|
+
- lib/openstax/aws/wait_message.rb
|
324
|
+
- lib/openstax_aws.rb
|
325
|
+
- openstax_aws.gemspec
|
326
|
+
homepage: https://github.com/openstax/aws-ruby
|
327
|
+
licenses:
|
328
|
+
- MIT
|
329
|
+
metadata:
|
330
|
+
allowed_push_host: https://rubygems.org
|
331
|
+
post_install_message:
|
332
|
+
rdoc_options: []
|
333
|
+
require_paths:
|
334
|
+
- lib
|
335
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
336
|
+
requirements:
|
337
|
+
- - ">="
|
338
|
+
- !ruby/object:Gem::Version
|
339
|
+
version: '0'
|
340
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
341
|
+
requirements:
|
342
|
+
- - ">="
|
343
|
+
- !ruby/object:Gem::Version
|
344
|
+
version: '0'
|
345
|
+
requirements: []
|
346
|
+
rubygems_version: 3.0.3
|
347
|
+
signing_key:
|
348
|
+
specification_version: 4
|
349
|
+
summary: openstax IaC
|
350
|
+
test_files: []
|