awslabs / landing-zone-accelerator-on-aws

Deploy a multi-account cloud foundation to support highly-regulated workloads and complex compliance requirements.
https://aws.amazon.com/solutions/implementations/landing-zone-accelerator-on-aws/
Apache License 2.0
557 stars 444 forks source link

Creating Identity Center config fails to deploy due to missing SSM parameter #328

Open dsultanaabc opened 12 months ago

dsultanaabc commented 12 months ago

Describe the bug Fresh CT LZA setup. Trying to interact with a preconfigured Identity Centre with users/groups synced via Azure/SCIM (note we are delegating the IAM Identity Centre to our Audit account).

When attempting to create an identity centre, I receive the following error during the Operations stage:

❌ Deployment failed: Error [ValidationError]: Unable to fetch parameters [/accelerator/organization/security/identity-center/instance-arn] from parameter store for this account.

When I manually create the SSM parameter MANUALLY and populate it with the ARN of our identity centre, the operations stage completes successfully.

NOTE: Appears to also happen when attempting to add identityCenterAssignments:

❌ Deployment failed: Error [ValidationError]: Unable to fetch parameters [/accelerator/organization/security/identity-center/identity-store-id] from parameter store for this account.

After creating this SSM parameter MANUALLY, oepration stage completes successfully

To Reproduce Edit iam-config.yaml is as below:

identityCenter: name: identityCenter delegatedAdminAccount: Audit providers: [] policySets: [] roleSets: [] groupSets: [] userSets: []

Run accelerator pipeline and it fails during operations stage

Expected behavior I expect the above configuration to apply, not throw an error about an SSM parameter not being available

NOTE: When I manually create the SSM parameter MANUALLY and populate it with the ARN of our identity centre, the operations stage completes successfully.

Please complete the following information about the solution:

To get the version of the solution, you can look at the description of the created AWS CloudFormation stack used to install the LZA (AWSAccelerator-InstallerStack). For example, "(SO0199) Landing Zone Accelerator on AWS. Version 1.5.1.". If the description does not contain the version information, you can look at the Parameters of the stack for the RepositoryBranchName as that should contain the version number.

Screenshots If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Additional context Add any other context about the problem here.

erwaxler commented 3 months ago

Hi @dsultanaabc , thanks for raising this issue to the team. Identity Center resources were refactoring in the v1.7.0 release, are you still observing this behavior in the latest release?