aztfmod / aztfmod/documentation

Error Deploy launchpad (level0)

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
25
Forks
22
PR merge metrics
No merged PRs in 30d

Description

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 ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.