GoogleCloudPlatform / GoogleCloudPlatform/rad-lab

Terrform Apply failed due to the error of "Error 403: Unable to retrieve the repository metadata"

Open
#198 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
112
Forks
81
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When run “terraform apply "radlab-ui.out"” in the step described in https://googlecloudplatform.github.io/rad-lab/docs/rad-lab-ui/ui_installation/infrastructure/#initial-run, it failed with the error of "Error 403: Unable to retrieve the repository metadata"

**To Reproduce**
Steps to reproduce the behavior:
1. Go to https://googlecloudplatform.github.io/rad-lab/docs/rad-lab-ui/ui_installation/infrastructure/#initial-run
2. Run the command of "terraform apply "radlab-ui.out"" as per the document above.
3. Command failed due to the error of "Error 403: Unable to retrieve the repository metadata"

**Expected behavior**
Terraform should finish successfully

**Screenshots**
Screenshot of the error attached.

**Desktop (please complete the following information):**
- OS: MacOS
- Browser: Chrome
- Version: N/A

**Additional context**
The solution is to add the line of “"roles/artifactregistry.reader",” after the line of “"roles/logging.logWriter",” in the file of “radlab-ui/automation/terraform/infrastructure/”. Will raise a PR shortly

**Logs**
Any relevant logs that you can provide. Please remove any identifying information.

**Labels**
Please add a label that identifies what component(s) this issue applies to.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.