Skip to content

Error Deploy launchpad (level0) #52

@ronaldbok

Description

@ronaldbok

Hello,

I'm Following the Step as descript in /tf/caf/configuration/contoso/platform/level0/launchpad/readme.md

"
cd /tf/caf/landingzones
git fetch origin
git checkout 2203.1
git pull
rover
-lz /tf/caf/landingzones/caf_launchpad
-var-folder /tf/caf/configuration/level0/launchpad
-tfstate_subscription_id XXXXXXXXXXXXXXXXXXXXXX
-target_subscription XXXXXXXXXXXXXXXX
-tfstate caf_launchpad.tfstate
-launchpad
-env nexxtalz
-level level0
-p ${TF_DATA_DIR}/caf_launchpad.tfstate.tfplan
-a plan
"

I get the Error :
"module.launchpad.data.azurerm_subscription.primary: Read complete after 0s [id=/subscriptions/26e33299-b4d2-4b01-baf4-375cf23388ad]
module.launchpad.data.azurerm_management_group.level["root"]: Read complete after 0s [id=/providers/Microsoft.Management/managementGroups/xxxxxxxxxxxxxxxxxxxxxxxxxxxx]

│ Error: Incorrect attribute value type

│ on /home/vscode/.terraform.cache/XXXXXXXX/modules/launchpad/modules/azuread/groups/group.tf line 6, in resource "azuread_group" "group":
│ 6: owners = coalescelist(
│ 7: try(tolist(var.azuread_groups.owners), []),
│ 8: [
│ 9: var.client_config.object_id
│ 10: ]
│ 11: )
│ ├────────────────
│ │ var.azuread_groups.owners is tuple with 1 element
│ │ var.client_config.object_id is "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

│ Inappropriate value for attribute "owners": incorrect set element type: string required.

"

can someone help me with this ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions