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

Refactor cloud build deploy instructions #825

Conversation

daniel-cit
Copy link
Contributor

@daniel-cit daniel-cit commented Sep 28, 2022

This PR refactor Cloud Build deploy instructions to follow the same structure of the manual and Jenkins deploys

also fixes #817

@daniel-cit daniel-cit marked this pull request as ready for review September 28, 2022 21:33
@daniel-cit daniel-cit requested review from a team, rjerrems and bharathkkb as code owners September 28, 2022 21:33
@daniel-cit daniel-cit self-assigned this Oct 6, 2022
Copy link
Member

@bharathkkb bharathkkb left a comment

Choose a reason for hiding this comment

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

Thanks @daniel-cit a few comments but most LGTM. I also think we are missing a repo iam permissions in 5-app-infra for GCB BYOSA to clone policy source repo. I got a permission error when deploying until i added viewer role.

resource "google_sourcerepo_repository" "gcp_policies" {

0-bootstrap/README.md Show resolved Hide resolved
0-bootstrap/README.md Outdated Show resolved Hide resolved
0-bootstrap/README.md Outdated Show resolved Hide resolved
0-bootstrap/README.md Outdated Show resolved Hide resolved
0-bootstrap/README.md Outdated Show resolved Hide resolved
```
--impersonate-service-account=terraform-org-sa@<SEED_PROJECT_ID>.iam.gserviceaccount.com
```

to run the command as the Terraform Service Account.

### Deploying with Jenkins
Copy link
Member

Choose a reason for hiding this comment

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

In a follow up lets move jenkins docs to below local deploy.

1-org/README.md Outdated Show resolved Hide resolved
1-org/README.md Show resolved Hide resolved
3-networks-dual-svpc/README.md Outdated Show resolved Hide resolved
3-networks-dual-svpc/README.md Outdated Show resolved Hide resolved
@daniel-cit daniel-cit requested a review from bharathkkb October 13, 2022 05:43
@bharathkkb bharathkkb merged commit 143d646 into terraform-google-modules:master Oct 17, 2022
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.

Add a repo for bootstap
2 participants