Commit Graph

87 Commits

Author SHA1 Message Date
Carlo Costino
21c5e09f8b Merge pull request #928 from GSA/jskinne3-upgrade-cloudgov-module
Upgrade terraform-cloudgov module
2024-04-23 18:05:29 -04:00
Carlo Costino
701025fa46 Merge pull request #923 from GSA/jskinne3-upgrade-terraform-version
Upgrade terraform version to match CI/CD
2024-04-23 17:53:45 -04:00
John Skiles Skinner
6a20f2c426 Upgrade terraform-cloudgov module from 0.7.1 to 0.9.1 in 2 modules 2024-04-17 11:47:39 -07:00
John Skiles Skinner
dbfb1e2379 Accommodate the version of Terraform that CI/CD expects 2024-04-15 17:52:40 -07:00
John Skiles Skinner
4b904c69c2 One more troubleshooting item 2024-04-15 17:32:34 -07:00
John Skiles Skinner
13061ce939 Update README about the -m flag when creating a SpaceDeployer 2024-04-15 17:25:04 -07:00
John Skiles Skinner
99716f39e6 Upgrade minimum Terraform version in each providers.tf file 2024-04-15 16:43:35 -07:00
John Skiles Skinner
6608e3672e Upgrade cloudfoundry from 0.53.0 to 0.53.1 everywhere 2024-04-15 12:08:41 -07:00
John Skiles Skinner
2cee820e74 Update terraform/README.md
Co-authored-by: Carlo Costino <ccostino@users.noreply.github.com>
2024-04-12 14:44:48 -07:00
John Skiles Skinner
fdfb7e56e8 Update terraform/README.md
Co-authored-by: Carlo Costino <ccostino@users.noreply.github.com>
2024-04-12 14:43:23 -07:00
John Skiles Skinner
cdf87c02d1 Update terraform/README.md
Co-authored-by: Carlo Costino <ccostino@users.noreply.github.com>
2024-04-12 14:43:10 -07:00
John Skiles Skinner
d2d39b210b Note about the purpose of deployers in main.tf 2024-04-12 12:07:37 -07:00
John Skiles Skinner
7e9a504a64 I guess you just cant indent cautions / warnings 2024-04-11 15:56:22 -07:00
John Skiles Skinner
3c141ef823 Does the Caution markdown not work? 2024-04-11 15:52:21 -07:00
John Skiles Skinner
35bb04f082 Note about risk of saving shared code 2024-04-11 15:29:36 -07:00
John Skiles Skinner
a5e7383871 Rewrite manual new env instructions to be general workflow 2024-04-11 15:10:19 -07:00
John Skiles Skinner
e426402247 Instruction on switching AWS CLI profiles 2024-04-10 19:30:05 -07:00
John Skiles Skinner
7dbcc1793d Add Troubleshooting section, note about local state in dev env 2024-04-10 19:18:29 -07:00
John Skiles Skinner
e228a02653 Explanation of the purpose of bucket credentials 2024-04-09 11:26:50 -07:00
John Skiles Skinner
150cbeb54f Explain directory structure 2024-04-08 18:32:20 -07:00
John Skiles Skinner
e054d9b03f Remove insecure output of creds, adjust README 2024-04-08 17:11:20 -07:00
John Skiles Skinner
f2ef5efb1d References to headings into anchor links 2024-04-08 15:35:50 -07:00
John Skiles Skinner
1f3b69ad53 Note "initial setup" section is outdated 2024-04-08 15:28:34 -07:00
John Skiles Skinner
dc334e6686 Re-order Terraform README steps
Co-authored-by: Ryan Ahearn <ryan.ahearn@gsa.gov>
2024-04-08 15:15:01 -07:00
Carlo Costino
af877cae8d Revert the rest of our Terraform changes
This changeset reverts the rest of our recent Terraform changes to make sure deployments are working properly.

Again, these will be re-introduced once we figure out the resource management piece.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-04-03 14:07:28 -04:00
Carlo Costino
ead7e38179 Revert recent Terraform changes to prod and demo
This changeset reverts a few of our recent changes to the production and demo Terraform files to re-enable deployments.

We are working through fixing this and will re-introduce these changes once we figure out how to get the changes to properly work (which are tied to the infrastructure checks as well).

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-04-03 12:57:56 -04:00
Carlo Costino
9d60e6e8b7 Fix reference to CF org vs. space
This changeset fixes a reference to properly load the Cloud Foundry org for modifying the space.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-13 11:26:01 -04:00
Carlo Costino
0404348ec0 Removed last bit of extraneous config that is not needed
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-13 10:12:54 -04:00
Carlo Costino
1484c2ffa0 Adjust properties further to only apply to spaces
The SES and SNS modules are strictly for services that are instantiated within a space, while the egress_space is creating a separate space. The shift of the recursive delete from being on a service to being at the space level means that the SES and SNS modules do not have to track it at all, it should only be handled at the space level.  The same goes for the allow_ssh flag.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-13 10:05:02 -04:00
Carlo Costino
15f8be7aee Explicitly add allow_ssh flag and disable for production
This will also ensure any drift is picked up by our infrastructure verification checks

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-13 09:51:41 -04:00
Carlo Costino
f0e66886d2 Adding missing variable for egress_space
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-12 14:26:28 -04:00
Carlo Costino
68fa12340a Add space data back in - we still need it!
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-12 14:22:58 -04:00
Carlo Costino
ef46ddcb37 Fixed reference to the Cloud Foundry org instead of space
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-12 14:19:59 -04:00
Carlo Costino
61703471bb Fix remaining Terraform for production and demo
This changeset adjusts our Terraform for the production and demo environments so that the new delete_recursive_allowed with the Cloud Foundry Cloud Controller is set to false.  It also updates the shared modules to all explicitly account for this property so that we can set the flag easily.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-03-12 13:59:08 -04:00
Cliff Hill
4d89e6451d Reversing the over-engineering.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-03-08 12:04:03 -05:00
Cliff Hill
9ce1e4816f Terraform formatting
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-03-08 12:01:06 -05:00
Cliff Hill
e843b05e00 Removing all the references!
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-03-08 12:00:36 -05:00
Cliff Hill
b46bad8b77 Version bumps aren't fun.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-03-08 11:50:30 -05:00
Cliff Hill
23167c5f16 Formatting is annoying.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-03-08 11:47:12 -05:00
Cliff Hill
ed9896fdce Updating the versions for things.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-03-08 11:37:36 -05:00
Cliff Hill
92d4171717 We hope this is right.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
2024-03-08 11:35:26 -05:00
Carlo Costino
123b19d835 Remove the profile attribute entirely
This was what was apparently breaking our Terraform actions.  I traced this to an undocumented breaking change with the AWS provider; more details can be seen here: https://discuss.hashicorp.com/t/error-error-configuring-terraform-aws-provider-failed-to-get-shared-config-profile-default/39417/2

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-30 10:47:16 -05:00
Carlo Costino
b63130c1ba Remove profile attribute from environment providers
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-30 10:35:27 -05:00
Carlo Costino
033f439313 Updated 18F/terraform-cloudgov to v0.7.1
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-30 09:39:54 -05:00
Carlo Costino
8c03d14237 Update Cloud Foundry Terraform module
This changeset updates the Cloud Foundry Terraform to its latest release.  Our file were previously referencing a very old version, which was contributing to infrastructure check and deployment failures.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2024-01-30 09:25:05 -05:00
stvnrlly
fa5e244019 update egress deployers 2023-10-13 11:07:07 -04:00
Kenneth Kehl
1ecb747c6d reformat 2023-08-29 14:54:30 -07:00
Carlo Costino
bc650f21fe Update cloud.gov org references
This changeset adjusts our references to the cloud.gov org we are using from gsa-tts-benefits-studio-prototyping to gsa-tts-benefits-studio.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
2023-08-25 12:16:57 -04:00
Ryan Ahearn
3b5eae82d6 Remove Ryan from list of deployers for staging and demo egress spaces 2023-08-10 09:42:04 -04:00
Ryan Ahearn
cb0df5aa64 Only print user report when run directly as a script 2023-05-09 22:10:36 -04:00