Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix condition for enabling GCP API gateway service #1044

Merged
merged 1 commit into from
Apr 28, 2022

Conversation

amarthadan
Copy link
Contributor

This bug explains why all of a sudden we needed to enable the API gateway service manually on GCP.
Related to AN-698 and AN-700. Not sure it's the only issue though.

@amarthadan amarthadan requested a review from a team April 27, 2022 10:17
@amarthadan amarthadan self-assigned this Apr 27, 2022
"docker": "yarn docker:build:artifacts && yarn docker:build:deployer && yarn docker:build:client && yarn docker:build:admin",
"docker:build": "yarn docker:build:artifacts && yarn docker:build:deployer && yarn docker:build:client && yarn docker:build:admin",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why we call it just docker and all the "subtasks" are called docker:build:* so I changed it.

@amarthadan amarthadan force-pushed the fix-gcp-gateway-required-services branch from dd34f2f to 61043dc Compare April 27, 2022 10:19
Copy link
Contributor

@Siegrift Siegrift left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM (but I didn't test this).

We should also patch this to the other versions and also update docs (they now say it needs to be enabled).

@@ -71,7 +71,7 @@ module "startCoordinator" {
}

resource "google_project_service" "apigateway_api" {
count = var.http_api_key == null || var.http_signed_data_api_key == null ? 0 : 1
count = var.http_api_key == null && var.http_signed_data_api_key == null ? 0 : 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants