Skip to content

Commit

Permalink
add write policy for pvnet forecast (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield authored Jan 21, 2025
1 parent b0a044d commit 082b50e
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions terraform/nowcasting/development/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -521,10 +521,6 @@ source = "../../modules/services/ecs_task"
{
id : module.forecasting_models_bucket.bucket_id,
access_policy_arn : module.forecasting_models_bucket.read_policy_arn
},
{
id : module.forecasting_models_bucket.bucket_id,
access_policy_arn : module.forecasting_models_bucket.write_policy_arn
}
]

Expand Down Expand Up @@ -572,6 +568,10 @@ source = "../../modules/services/ecs_task"
{
id : module.s3.s3-sat-bucket.id,
access_policy_arn : module.s3.iam-policy-s3-sat-read.arn
},
{
id : module.forecasting_models_bucket.bucket_id,
access_policy_arn : module.forecasting_models_bucket.write_policy_arn
}
]

Expand Down Expand Up @@ -622,6 +622,10 @@ source = "../../modules/services/ecs_task"
{
id : module.s3.s3-nwp-bucket.id,
access_policy_arn : module.s3.iam-policy-s3-nwp-read.arn
},
{
id : module.forecasting_models_bucket.bucket_id,
access_policy_arn : module.forecasting_models_bucket.write_policy_arn
}
]

Expand Down Expand Up @@ -676,6 +680,10 @@ source = "../../modules/services/ecs_task"
{
id : module.s3.s3-sat-bucket.id,
access_policy_arn : module.s3.iam-policy-s3-sat-read.arn
},
{
id : module.forecasting_models_bucket.bucket_id,
access_policy_arn : module.forecasting_models_bucket.write_policy_arn
}

]
Expand Down

0 comments on commit 082b50e

Please sign in to comment.