founders_template 0.1.8 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile-rails6.lock +1 -1
  3. data/lib/founders_template/cli.rb +35 -4
  4. data/lib/founders_template/config_file.rb +11 -2
  5. data/lib/founders_template/version.rb +1 -1
  6. data/templates/Dockerfile.erb +68 -0
  7. data/templates/docker/nginx/nginx.conf +78 -0
  8. data/templates/docker-compose.yml.erb +75 -0
  9. data/templates/terraform/modules/application/main.tf +70 -0
  10. data/templates/terraform/modules/application/one_off_service.tf +48 -0
  11. data/templates/terraform/modules/application/outputs.tf +19 -0
  12. data/templates/terraform/modules/application/policies/ecs_execution.json +17 -0
  13. data/templates/terraform/modules/application/policies/ecs_execution_role.json +21 -0
  14. data/templates/terraform/modules/application/policies/ecs_task_execution.json +17 -0
  15. data/templates/terraform/modules/application/sshable.tf +17 -0
  16. data/templates/terraform/modules/application/task_definitions/one_off.json +18 -0
  17. data/templates/terraform/modules/application/task_definitions/web.json +41 -0
  18. data/templates/terraform/modules/application/task_definitions/worker.json +49 -0
  19. data/templates/terraform/modules/application/variables.tf +109 -0
  20. data/templates/terraform/modules/application/web_service.tf +62 -0
  21. data/templates/terraform/modules/application/worker_service.tf +48 -0
  22. data/templates/terraform/production/domains.tf +19 -0
  23. data/templates/terraform/production/main.tf +167 -0
  24. data/templates/terraform/production/ssl.tf +28 -0
  25. data/templates/terraform/production/variables.tf +36 -0
  26. data/templates/terraform/shared/main.tf +41 -0
  27. data/templates/terraform/shared/terraform.tfstate.backup +129 -0
  28. data/templates/terraform-production.tfvars.erb +4 -0
  29. data/templates/terraform-shared.tfvars.erb +1 -0
  30. metadata +26 -2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: founders_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Trae Robrock
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-23 00:00:00.000000000 Z
11
+ date: 2020-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -125,14 +125,38 @@ files:
125
125
  - lib/founders_template/utils.rb
126
126
  - lib/founders_template/version.rb
127
127
  - playground/config/credentials/.gitkeep
128
+ - templates/Dockerfile.erb
128
129
  - templates/buildspec.yml.erb
129
130
  - templates/ci/install.sh
130
131
  - templates/ci/post_build.sh
131
132
  - templates/ci/run_tests.sh
132
133
  - templates/docker-compose.ci.yml.erb
134
+ - templates/docker-compose.yml.erb
133
135
  - templates/docker-sync.yml.erb
136
+ - templates/docker/nginx/nginx.conf
134
137
  - templates/dockerignore.erb
135
138
  - templates/ft.yml.erb
139
+ - templates/terraform-production.tfvars.erb
140
+ - templates/terraform-shared.tfvars.erb
141
+ - templates/terraform/modules/application/main.tf
142
+ - templates/terraform/modules/application/one_off_service.tf
143
+ - templates/terraform/modules/application/outputs.tf
144
+ - templates/terraform/modules/application/policies/ecs_execution.json
145
+ - templates/terraform/modules/application/policies/ecs_execution_role.json
146
+ - templates/terraform/modules/application/policies/ecs_task_execution.json
147
+ - templates/terraform/modules/application/sshable.tf
148
+ - templates/terraform/modules/application/task_definitions/one_off.json
149
+ - templates/terraform/modules/application/task_definitions/web.json
150
+ - templates/terraform/modules/application/task_definitions/worker.json
151
+ - templates/terraform/modules/application/variables.tf
152
+ - templates/terraform/modules/application/web_service.tf
153
+ - templates/terraform/modules/application/worker_service.tf
154
+ - templates/terraform/production/domains.tf
155
+ - templates/terraform/production/main.tf
156
+ - templates/terraform/production/ssl.tf
157
+ - templates/terraform/production/variables.tf
158
+ - templates/terraform/shared/main.tf
159
+ - templates/terraform/shared/terraform.tfstate.backup
136
160
  homepage: https://github.com/trobrock/founders_template
137
161
  licenses:
138
162
  - MIT