Skip to content

Bug: Unsupported attribute - default_prefix, default_postfix & top_level_management_group_name #267

@lukemurraynz

Description

@lukemurraynz

Is there an existing issue for this?

  • I have searched the existing issues

Infrastructure as Code Type? (Required)

terraform

PowerShell Module Version (Optional)

No response

Bootstrap Module Version (Optional)

4.1.7

Starter Module? (Required)

terraform - hubnetworking

Starter Module Version (Optional)

4.5.7

Input arguments of the ALZ-PowerShell-Module (Optional)

Deploy-Accelerator -inputs "c:\accelerator\config\inputs.yaml", "c:\accelerator\config\platform-landing-zone.tfvars"
-starterAdditionalFiles "c:\accelerator\config\lib" `
-output "c:\accelerator\output"

Debug Output/Panic Output (Optional)

Expected Behaviour (Required)

Terraform to complete.

Actual Behaviour (Required)

Plan: 94 to add, 0 to change, 0 to destroy.

Changes to Outputs:

  • details = {
    • iac_type = "terraform"
    • starter_module_name = "platform_landing_zone"
      }

      │ Error: Unsupported attribute

      │ on ....\modules\template_architecture_definition\locals.tf line 4, in locals:
      │ 4: default_prefix = local.starter_module_tfvars.default_prefix
      │ ├────────────────
      │ │ local.starter_module_tfvars is object with 7 attributes

      │ This object does not have an attribute named "default_prefix".


      │ Error: Unsupported attribute

      │ on ....\modules\template_architecture_definition\locals.tf line 5, in locals:
      │ 5: default_postfix = local.starter_module_tfvars.default_postfix
      │ ├────────────────
      │ │ local.starter_module_tfvars is object with 7 attributes

      │ This object does not have an attribute named "default_postfix".


      │ Error: Unsupported attribute

      │ on ....\modules\template_architecture_definition\locals.tf line 6, in locals:
      │ 6: top_level_management_group_name = local.starter_module_tfvars.top_level_management_group_name
      │ ├────────────────
      │ │ local.starter_module_tfvars is object with 7 attributes

      │ This object does not have an attribute named "top_level_management_group_name".

Steps to Reproduce (Optional)

Using the: alz.alz_architecture_definition architecture lib.
Inputs as:

Basic Inputs

iac_type: "terraform"
bootstrap_module_name: "alz_azuredevops"
starter_module_name: "platform_landing_zone

Important Factoids (Optional)

No response

References (Optional)

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions