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

error installing jx3 in azure #30

Open
oh-rajendra opened this issue May 5, 2022 · 1 comment
Open

error installing jx3 in azure #30

oh-rajendra opened this issue May 5, 2022 · 1 comment

Comments

@oh-rajendra
Copy link

Hi I am trying to install jx3 on azure.
I am getting this error. while running terraform plan
Repo:- https://jenkins-x.io/v3/admin/platforms/azure/
Error: expected secret_permissions.0 to be one of [Backup Delete Get List Purge Recover Restore Set], got get │ │ with module.cluster.module.secrets.azurerm_key_vault_access_policy.terraform, │ on .terraform\modules\cluster\terraform-jx-azurekeyvault\main.tf line 66, in resource "azurerm_key_vault_access_policy" "terraform": │ 66: "get", │ ╵ ╷ │ Error: expected secret_permissions.1 to be one of [Backup Delete Get List Purge Recover Restore Set], got set │ │ with module.cluster.module.secrets.azurerm_key_vault_access_policy.terraform, │ on .terraform\modules\cluster\terraform-jx-azurekeyvault\main.tf line 67, in resource "azurerm_key_vault_access_policy" "terraform": │ 67: "set", │ ╵ ╷ │ Error: expected secret_permissions.2 to be one of [Backup Delete Get List Purge Recover Restore Set], got delete │ │ with module.cluster.module.secrets.azurerm_key_vault_access_policy.terraform, │ on .terraform\modules\cluster\terraform-jx-azurekeyvault\main.tf line 68, in resource "azurerm_key_vault_access_policy" "terraform": │ 68: "delete", │ ╵ ╷ │ Error: Unsupported block type │ │ on .terraform\modules\cluster\terraform-jx-cluster-aks\cluster\main.tf line 28, in resource "azurerm_kubernetes_cluster" "aks": │ 28: role_based_access_control { │ │ Blocks of type "role_based_access_control" are not expected here. ╵ ╷ │ Error: Unsupported block type │ │ on .terraform\modules\cluster\terraform-jx-cluster-aks\cluster\main.tf line 36, in resource "azurerm_kubernetes_cluster" "aks": │ 36: addon_profile { │ │ Blocks of type "addon_profile" are not expected here.

@mharris867
Copy link

This is a case sensitivity issue. I work around it by updating get set delete to Get Set Delete

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

No branches or pull requests

2 participants