Skip to content

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

Description

@JasperW01

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions