Skip to content

Commit

Permalink
Fix terraform
Browse files Browse the repository at this point in the history
  • Loading branch information
jterry64 committed Jul 31, 2024
1 parent 9830d30 commit 42b1784
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ data "template_file" "container_definition" {
pixetl_job_definition = module.batch_job_queues.pixetl_job_definition_arn
pixetl_job_queue = module.batch_job_queues.pixetl_job_queue_arn
raster_analysis_lambda_name = "raster-analysis-tiled_raster_analysis-default"
raster_analysis_sfn_arn = data.terraform_remote_state.raster_analysis_lambda.raster_analysis_state_machine_arn
raster_analysis_sfn_arn = data.terraform_remote_state.raster_analysis_lambda.outputs.raster_analysis_state_machine_arn
service_url = local.service_url
rw_api_url = var.rw_api_url
api_token_secret_arn = data.terraform_remote_state.core.outputs.secrets_read-gfw-api-token_arn
Expand Down
13 changes: 13 additions & 0 deletions terraform/templates/iam_apigateway.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"apigateway:CreateKey",
"apigateway:ListKey"
],
"Resource": "*"
}
]
}

0 comments on commit 42b1784

Please sign in to comment.