Commit Graph

61 Commits

Author SHA1 Message Date
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
Ryan Ahearn
e66301a170 Add cloud.gov user audit script 2023-05-09 21:47:14 -04:00
Ryan Ahearn
300414974c Set service plan names for production 2023-05-08 15:15:25 -04:00
Ryan Ahearn
58ad32b560 Enable production deploy 2023-05-08 10:47:01 -04:00
Ryan Ahearn
77d54eb557 Add reset state script 2023-04-17 11:36:03 -04:00
Ryan Ahearn
e07b596857 Remove contact list db, dao, and s3 code 2023-04-12 15:01:24 -04:00
Ryan Ahearn
180184e58d Ensure developers can still access SES & SNS from workstations 2023-03-31 15:35:26 -04:00
Ryan Ahearn
ac20a0ed65 Bring bootstrap module back into working order with versioned s3 module 2023-03-31 07:54:06 -04:00
Ryan Ahearn
111891751e Merge pull request #205 from GSA/restage-apps
Add workflow to restage apps
2023-03-22 10:28:57 -04:00
Ryan Ahearn
3c8aa65595 Match prod space name to environment name 2023-03-21 17:51:06 -04:00
Ryan Ahearn
7ddf125807 Enable SMS in production account 2023-03-21 14:28:32 -04:00
Ryan Ahearn
bea7a55e4a Make sure we're in the correct directory
this will make relative paths and terraform find the correct files
2023-03-15 16:24:02 -04:00
Ryan Ahearn
9eb075f074 Address PR feedback 2023-03-14 15:36:32 -04:00
Ryan Ahearn
778a41a1cb Put api in key name so we can easily add a key for shared buckets to admin 2023-03-13 14:15:22 -04:00
Ryan Ahearn
627149402c Add terraform/development for retrieving credentials for local development use 2023-03-13 13:44:10 -04:00
Ryan Ahearn
b8f66155dc Add a mail-from subdomain to staging and prod ses 2023-02-28 11:38:58 -05:00
Ryan Ahearn
eec618dff8 Enable sns service in demo 2023-02-22 10:10:00 -05:00
Ryan Ahearn
e62b257061 Update sandbox sns terraform now that service sharing is blocked 2023-02-21 16:48:42 -05:00
Ryan Ahearn
596e25af42 Move demo terraform to commercial prod AWS account 2023-02-21 16:48:27 -05:00
Ryan Ahearn
acee0cc03a Remove debugging line 2023-02-10 10:40:39 -05:00
Ryan Ahearn
52e6d25b13 Provision sns via terraform in staging 2023-02-10 09:31:27 -05:00
Ryan Ahearn
ad6f8a6778 Fix email_domain for demo environment 2023-02-03 15:53:44 -05:00
Ryan Ahearn
13438e0602 Add terraform module to staging/demo/prod 2023-02-02 15:45:09 -05:00
Ryan Ahearn
74566b733d Add ses module and staging implementation 2023-01-31 12:13:15 -05:00
Ryan Ahearn
a1ea9281a2 Add cf-cli version check to create_service_account 2023-01-27 14:54:14 -05:00
Ryan Ahearn
d84393a242 Tweak tail & jq usage to parse cf-cli@8 output 2023-01-27 14:27:22 -05:00
Ryan Ahearn
f967d2a478 Update terraform module to v0.2.0 2022-12-22 09:09:12 -05:00