Skip to content

Commit

Permalink
update production of eb-app and rds (#537)
Browse files Browse the repository at this point in the history
* update production of eb-app and rds

* update
  • Loading branch information
peterdudfield committed May 1, 2024
1 parent 6e24edf commit 1888263
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions terraform/india/production/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module "network" {

# 1.1
module "postgres-rds" {
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/storage/postgres?ref=205465e"
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/storage/postgres?ref=6e24edf"
region = local.region
environment = local.environment
vpc_id = module.network.vpc_id
Expand Down Expand Up @@ -197,7 +197,7 @@ module "airflow" {

# 5.0
module "india-api" {
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/services/eb_app?ref=205465e"
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/services/eb_app?ref=6e24edf"
domain = local.domain
aws-region = local.region
aws-environment = local.environment
Expand All @@ -216,7 +216,7 @@ module "india-api" {

# 5.1
module "analysis_dashboard" {
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/services/eb_app?ref=205465e"
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/services/eb_app?ref=6e24edf"
domain = local.domain
aws-region = var.region
aws-environment = local.environment
Expand All @@ -234,8 +234,8 @@ module "analysis_dashboard" {
container-port = 8501
eb-app_name = "analysis-dashboard"
eb-instance_type = "t3.small"
s3_nwp_bucket = {
bucket_read_policy_arn = module.s3-nwp-bucket.read_policy_arn
}
s3_bucket = [
{ bucket_read_policy_arn = module.s3-nwp-bucket.read_policy_arn }
]
}

10 changes: 5 additions & 5 deletions terraform/nowcasting/production/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module "forecasting_models_bucket" {

# 1.1
module "api" {
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/services/eb_app?ref=35af5da"
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/services/eb_app?ref=6e24edf"
domain = local.domain
aws-region = var.region
aws-environment = local.environment
Expand All @@ -110,7 +110,7 @@ module "api" {

# 2.1
module "database" {
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/storage/database-pair?ref=26e3b29"
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/storage/database-pair?ref=6e24edf"

region = var.region
environment = local.environment
Expand Down Expand Up @@ -347,7 +347,7 @@ module "forecast_pvnet" {

# 5.1
module "analysis_dashboard" {
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/services/eb_app?ref=35af5da"
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/services/eb_app?ref=6e24edf"
domain = local.domain
aws-region = var.region
aws-environment = local.environment
Expand Down Expand Up @@ -410,7 +410,7 @@ module "airflow" {

# 6.1
module "pvsite_database" {
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/storage/postgres?ref=2747e85"
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/storage/postgres?ref=6e24edf"

region = var.region
environment = local.environment
Expand All @@ -423,7 +423,7 @@ module "pvsite_database" {

# 6.2
module "pvsite_api" {
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/services/eb_app?ref=35af5da"
source = "github.com/openclimatefix/ocf-infrastructure//terraform/modules/services/eb_app?ref=6e24edf"
domain = local.domain
aws-region = var.region
aws-environment = local.environment
Expand Down

0 comments on commit 1888263

Please sign in to comment.