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

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

Open
JasperW01 opened this issue Nov 4, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@JasperW01
Copy link

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.

@JasperW01 JasperW01 added the bug Something isn't working label Nov 4, 2023
@JasperW01
Copy link
Author

image

Copy link
Contributor

github-actions bot commented Nov 4, 2023

Thank you for raising the request! RAD Lab admins have been notified.

@JasperW01
Copy link
Author

will provide a PR shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant