Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
e414a50
Bump hypothesis from 6.141.0 to 6.141.1 (#2042)
dependabot[bot] Oct 16, 2025
66a8554
Bump cyclonedx-python-lib from 11.1.0 to 11.2.0 (#2040)
dependabot[bot] Oct 16, 2025
95f24f7
Bump numpy from 2.3.3 to 2.3.4 (#2041)
dependabot[bot] Oct 16, 2025
7febff7
Add organization message totals endpoint
heyitsmebev Oct 16, 2025
1a4eafb
update route name
heyitsmebev Oct 16, 2025
27d7efb
update test
heyitsmebev Oct 16, 2025
fdf69df
Bump aiohttp from 3.13.0 to 3.13.1 (#2047)
dependabot[bot] Oct 18, 2025
c8b1049
Bump moto from 5.1.14 to 5.1.15 (#2046)
dependabot[bot] Oct 18, 2025
a0c2565
Bump hypothesis from 6.141.1 to 6.142.1 (#2045)
dependabot[bot] Oct 18, 2025
1501547
Bump cryptography from 46.0.2 to 46.0.3 (#2044)
dependabot[bot] Oct 18, 2025
82a11ed
Merge pull request #2043 from GSA/2967-calculate-an-organizations-mes…
ccostino Oct 20, 2025
b852e6e
Bump hypothesis from 6.142.1 to 6.142.2 (#2048)
dependabot[bot] Oct 21, 2025
ccec575
get service usage
heyitsmebev Oct 21, 2025
0267c52
updating imports
heyitsmebev Oct 21, 2025
09907cc
removed the next() lookup
heyitsmebev Oct 21, 2025
3a82ef7
we don't need created_at here
heyitsmebev Oct 21, 2025
ec300c0
Bump regex from 2025.9.18 to 2025.10.23 (#2049)
dependabot[bot] Oct 22, 2025
92ecdff
Merge pull request #2050 from GSA/2968-per-service-quota-display
heyitsmebev Oct 22, 2025
dd6124b
Bump cyclonedx-python-lib from 11.2.0 to 11.3.0
dependabot[bot] Oct 22, 2025
8699e65
Merge pull request #2051 from GSA/dependabot/pip/cyclonedx-python-lib…
ccostino Oct 22, 2025
edf3cd3
Bump hypothesis from 6.142.2 to 6.142.3
dependabot[bot] Oct 22, 2025
375336d
Merge pull request #2053 from GSA/dependabot/pip/hypothesis-6.142.3
ccostino Oct 22, 2025
1af8e7c
start upgrading terraform provider
Oct 23, 2025
41f12cc
whoops
Oct 23, 2025
f686fee
Merge pull request #2055 from GSA/terraform_upgrade1
ccostino Oct 23, 2025
6d644a9
restore module redis-v70
Oct 23, 2025
9fa3db8
restore module redis-v70
Oct 23, 2025
a907a63
Merge pull request #2056 from GSA/terraform_upgrade1
ccostino Oct 23, 2025
b81fe0b
migrate csv_upload_bucket to new provider
Oct 23, 2025
7d63d3b
try again
Oct 23, 2025
2db396e
try again
Oct 23, 2025
43beeae
try again
Oct 23, 2025
bb6438f
Merge pull request #2057 from GSA/terraform_upgrade1
terrazoon Oct 24, 2025
e3e44f6
rebuild module.ses_email
Oct 24, 2025
08f8104
rebuild module.ses_email
Oct 24, 2025
cfb645c
rebuild module.ses_email
Oct 24, 2025
4579270
rebuild module.ses_email
Oct 24, 2025
c88c25d
rebuild module.ses_email
Oct 24, 2025
1081073
revert
Oct 24, 2025
96a584a
revert
Oct 24, 2025
f447f2b
revert
Oct 24, 2025
287c051
revert
Oct 24, 2025
3eff196
Merge pull request #2059 from GSA/terraform_upgrade1
ccostino Oct 24, 2025
9d33247
Bump cyclonedx-python-lib from 11.3.0 to 11.4.0 (#2058)
dependabot[bot] Oct 24, 2025
b52df1a
add second provider to all tiers
Oct 24, 2025
134ff85
Bump faker from 37.11.0 to 37.12.0
dependabot[bot] Oct 24, 2025
585fef8
Merge pull request #2064 from GSA/dependabot/pip/faker-37.12.0
ccostino Oct 27, 2025
a9f09f5
Bump phonenumbers from 9.0.16 to 9.0.17
dependabot[bot] Oct 27, 2025
61ce3b0
Merge pull request #2065 from GSA/dependabot/pip/phonenumbers-9.0.17
ccostino Oct 27, 2025
b760d45
fix test
Oct 27, 2025
9ba2e8b
Bump flake8-bugbear from 24.12.12 to 25.10.21 (#2052)
dependabot[bot] Oct 27, 2025
d0a7ba5
remove logging messages
Oct 27, 2025
5b897c9
Bump pip from 25.2 to 25.3
dependabot[bot] Oct 27, 2025
81a68ba
Merge pull request #2067 from GSA/dependabot/pip/pip-25.3
ccostino Oct 27, 2025
9ff6811
Merge pull request #2066 from GSA/org_tests
ccostino Oct 27, 2025
d7c716b
Merge pull request #2062 from GSA/terraform_upgrade2
ccostino Oct 27, 2025
5d025df
Merge pull request #2068 from GSA/invalidphone
ccostino Oct 27, 2025
d7cd9a4
Bump hypothesis from 6.142.3 to 6.142.4
dependabot[bot] Oct 27, 2025
6115e0f
Created a dashboard endpoint combines service usage data with recent …
heyitsmebev Oct 24, 2025
bc08521
added get_organization_dashboard
heyitsmebev Oct 24, 2025
e6226dd
formatting
heyitsmebev Oct 24, 2025
5b76a75
isort
heyitsmebev Oct 24, 2025
2d730be
fix testing
heyitsmebev Oct 27, 2025
608aa3b
test
heyitsmebev Oct 27, 2025
2714b4b
Merge pull request #2069 from GSA/dependabot/pip/hypothesis-6.142.4
ccostino Oct 28, 2025
00afb7d
Bump bleach from 6.2.0 to 6.3.0
dependabot[bot] Oct 28, 2025
a313ace
Merge pull request #2070 from GSA/dependabot/pip/bleach-6.3.0
ccostino Oct 28, 2025
aeef6bd
Bump python-dotenv from 1.1.1 to 1.2.1 (#2071)
dependabot[bot] Oct 28, 2025
e9a0137
removed converting uuid to strings
heyitsmebev Oct 29, 2025
e5546dd
Remove unnecessary UUID/string conversions
heyitsmebev Oct 29, 2025
cb4b769
Bump aiohttp from 3.13.1 to 3.13.2 (#2074)
dependabot[bot] Oct 29, 2025
fe3c547
Disable demo infrastructure drift check
ccostino Oct 29, 2025
bf68dde
Merge pull request #2075 from GSA/disable-demo-infra-drift-check
ccostino Oct 29, 2025
99649b4
Merge pull request #2063 from GSA/2971-include-recent-template-used-p…
ccostino Oct 29, 2025
838fef1
Bump virtualenv from 20.35.3 to 20.35.4 (#2078)
dependabot[bot] Oct 30, 2025
ffd23dc
Bump alembic from 1.17.0 to 1.17.1 (#2076)
dependabot[bot] Oct 30, 2025
4a57413
Bump deprecated from 1.2.18 to 1.3.0 (#2077)
dependabot[bot] Oct 30, 2025
62b8ea7
Bump hypothesis from 6.142.4 to 6.142.5 (#2082)
dependabot[bot] Nov 2, 2025
19c8f26
Bump cyclonedx-python-lib from 11.4.0 to 11.5.0 (#2081)
dependabot[bot] Nov 2, 2025
065f862
Bump deprecated from 1.3.0 to 1.3.1 (#2080)
dependabot[bot] Nov 2, 2025
b660c40
Bump marshmallow from 4.0.1 to 4.1.0
dependabot[bot] Nov 3, 2025
b776bff
Merge pull request #2083 from GSA/dependabot/pip/marshmallow-4.1.0
ccostino Nov 4, 2025
ceea463
Bump hypothesis from 6.142.5 to 6.145.0 (#2085)
dependabot[bot] Nov 4, 2025
864f4ca
Bump moto from 5.1.15 to 5.1.16 (#2084)
dependabot[bot] Nov 4, 2025
2f3cdb3
Bump regex from 2025.10.23 to 2025.11.3 (#2087)
dependabot[bot] Nov 5, 2025
3cbda2f
Bump newrelic from 11.0.1 to 11.1.0 (#2086)
dependabot[bot] Nov 5, 2025
0845e9f
Bump hypothesis from 6.145.1 to 6.146.0 (#2088)
dependabot[bot] Nov 6, 2025
8baf02a
Bump hypothesis from 6.146.0 to 6.147.0
dependabot[bot] Nov 6, 2025
55acb27
Merge pull request #2089 from GSA/dependabot/pip/hypothesis-6.147.0
ccostino Nov 6, 2025
2713efd
Bump phonenumbers from 9.0.17 to 9.0.18
dependabot[bot] Nov 7, 2025
2ea202a
Merge pull request #2090 from GSA/dependabot/pip/phonenumbers-9.0.18
ccostino Nov 7, 2025
8e51a33
Bump pre-commit from 4.3.0 to 4.4.0 (#2093)
dependabot[bot] Nov 11, 2025
592049a
Bump black from 25.9.0 to 25.11.0 (#2091)
dependabot[bot] Nov 11, 2025
e2f874b
Bump pytest from 8.4.2 to 9.0.0 (#2092)
dependabot[bot] Nov 11, 2025
72c2061
Bump pytest from 9.0.0 to 9.0.1
dependabot[bot] Nov 12, 2025
c90eb11
Bump certifi from 2025.10.5 to 2025.11.12
dependabot[bot] Nov 12, 2025
c38637c
Merge pull request #2097 from GSA/dependabot/pip/certifi-2025.11.12
ccostino Nov 12, 2025
4999623
Merge pull request #2096 from GSA/dependabot/pip/pytest-9.0.1
ccostino Nov 12, 2025
c70bc7c
Bump faker from 37.12.0 to 38.0.0
dependabot[bot] Nov 12, 2025
3ad3b00
Merge pull request #2095 from GSA/dependabot/pip/faker-38.0.0
ccostino Nov 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,35 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.TERRAFORM_STATE_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.TERRAFORM_STATE_SECRET_ACCESS_KEY }}
run: terraform init


# Some excitement for later. When we have a module we cannot just delete
# (db, csv_bucket) we need to modify the state in the tfstate file.
#
# Once both providers are defined in the providers.tf, the order of operations should be
#
# 1. Uncomment this command and let it run as part of CI/CD. This alters the state,
# but the module will be temporarily unusable
# 2. Go back to main.tf and update the module syntax and parameters for the new provider
# 3. Go through the CI/CD again, at this point it should work.
#
# - name: Terraform change provider
# working-directory: terraform/staging
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.TERRAFORM_STATE_ACCESS_KEY }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.TERRAFORM_STATE_SECRET_ACCESS_KEY }}
# TF_VAR_cf_user: ${{ secrets.CLOUDGOV_USERNAME }}
# TF_VAR_cf_password: ${{ secrets.CLOUDGOV_PASSWORD }}
# run: |
# terraform state pull | jq '
# .resources |= map(select(.module == "module.csv_upload_bucket"))
# ' > module-csv_upload_bucket.tfstate
# terraform state replace-provider \
# -state=module-csv_upload_bucket.tfstate \
# 'registry.terraform.io/cloudfoundry-community/cloudfoundry' \
# 'registry.terraform.io/cloudfoundry/cloudfoundry'
# terraform state push module-csv_upload_bucket.tfstate

- name: Terraform apply
working-directory: terraform/staging
env:
Expand Down
28 changes: 15 additions & 13 deletions terraform/staging/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,21 @@ module "database" {
rds_plan_name = "small-psql"
}

module "redis-v70" {
source = "github.com/GSA-TTS/terraform-cloudgov//redis?ref=v1.0.0"

cf_org_name = local.cf_org_name
cf_space_name = local.cf_space_name
name = "${local.app_name}-redis-v70-${local.env}"
redis_plan_name = "redis-dev"
json_params = jsonencode(
{
"engineVersion" : "7.0",
}
)
}
# module "redis-v70" {
# source = "github.com/GSA-TTS/terraform-cloudgov//redis?ref=v2.4.0"
# Right now the default is cfcommunity, remove this when default is cloudfoundry
# providers = {
# cloudfoundry = cloudfoundry.official
# }
# cf_space_id = data.cloudfoundry_space.space.id
# name = "${local.app_name}-redis-v70-${local.env}"
# redis_plan_name = "redis-dev"
# json_params = jsonencode(
# {
# "engineVersion" : "7.0",
# }
# )
# }

module "csv_upload_bucket" {
source = "github.com/GSA-TTS/terraform-cloudgov//s3?ref=v1.0.0"
Expand Down
13 changes: 13 additions & 0 deletions terraform/staging/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ terraform {
required_version = "~> 1.7"
required_providers {
cloudfoundry = {
source = "cloudfoundry/cloudfoundry"
version = "1.9.0"
}
cfcommunity = {
source = "cloudfoundry-community/cloudfoundry"
version = "0.53.1"
}
Expand All @@ -16,7 +20,16 @@ terraform {
}
}

# Official provider (should be default but aliased for now)
provider "cloudfoundry" {
alias = "official"
api_url = "https://api.fr.cloud.gov"
user = var.cf_user
password = var.cf_password
}

# Community provider (should be aliased but default for now)
provider "cfcommunity" {
api_url = "https://api.fr.cloud.gov"
user = var.cf_user
password = var.cf_password
Expand Down