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

azurerm version update along with the resource variables #29

Open
sweanan opened this issue Jan 19, 2023 · 0 comments
Open

azurerm version update along with the resource variables #29

sweanan opened this issue Jan 19, 2023 · 0 comments

Comments

@sweanan
Copy link

sweanan commented Jan 19, 2023

  • Currently the azurerm version that's used is "2.67.0" which is behind with this the below error is encountered, updating the version to latest(3.38.0) fixes the below error
  Error: expected "object_id" to be a valid UUID, got 
	│ 
	│   with module.rke2.module.rke2_cluster.module.rke2.module.statestore.azurerm_key_vault_access_policy.policy,
	│   on ../../modules/statestore/main.tf line 17, in resource "azurerm_key_vault_access_policy" "policy":
	│   17:   object_id    = data.azurerm_client_config.current.object_id
 Error: Unsupported argument
	│ 
	│   on ../../modules/lb/main.tf line 11, in resource "azurerm_public_ip" "pip":
	│   11:   availability_zone = var.zone
	│ 
	│ An argument named "availability_zone" is not expected here.
│ Error: Unsupported argument
	│ 
	│   on ../../modules/lb/main.tf line 34, in resource "azurerm_lb" "this":
	│   34:     availability_zone             = var.zone
	│ 
	│ An argument named "availability_zone" is not expected here.
  Error: Unsupported argument
        │ 
        │   on ../../modules/lb/main.tf line 55, in resource "azurerm_lb_probe" "this":
        │   55:   resource_group_name = data.azurerm_resource_group.rg.name
        │ 
        │ An argument named "resource_group_name" is not expected here.
│ Error: Unsupported argument
        │ 
        │   on ../../modules/lb/main.tf line 67, in resource "azurerm_lb_rule" "controlplane":
        │   67:   resource_group_name = data.azurerm_resource_group.rg.name
        │ 
        │ An argument named "resource_group_name" is not expected here.
  • Unsupported Argument for ("backend_address_pool_id") for Resource "azurerm_lb_rule"
│ Error: Unsupported argument
        │ 
        │   on ../../modules/lb/main.tf line 74, in resource "azurerm_lb_rule" "controlplane":
         │   74:   backend_address_pool_id        = azurerm_lb_backend_address_pool.bepool.id
       │ 
       │ An argument named "backend_address_pool_id" is not expected here. Did you mean "backend_address_pool_ids"?
      ╵
  • Unsupported Argument for ("resource_group_name") for Resource "azurerm_lb_rule"
│ Error: Unsupported argument
       │ 
       │   on ../../modules/lb/main.tf line 81, in resource "azurerm_lb_rule" "supervisor":
       │   81:   resource_group_name = data.azurerm_resource_group.rg.name
       │ 
       │ An argument named "resource_group_name" is not expected here.

PR #28 has the updates to fix these above errors.

cc: @Nepomuceno , @robcamer

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

1 participant