aws-cloudformation / aws-cloudformation/iac-model-evaluation

Bad indentation in cloudformation/cognito.yaml

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HCL
Stars
11
Forks
15
PR merge metrics
No merged PRs in 30d

Description

https://github.com/aws-cloudformation/iac-model-evaluation/blob/0fc13f985eeb35c667e4536c474511d643e02f31/cloudformation/cognito.yaml#L43-L53

Was probably meant to be

```yaml
AttributeMapping:
email: EMAIL
given_name: GIVEN_NAME
family_name: FAMILY_NAME
IdpIdentifiers: []
ProviderDetails:
client_id: my.client.id
client_secret: '{{resolve:secretsmanager:arn:aws:secretsmanager:us-east-1:012345678901:secret:my-secret:SecretString:::}}'
attributes_request_method: GET
authorize_scopes: openid
oidc_issuer: 'https://issuer.example.com'

Contributor guide

Open the contributing guide

Research direction

Open cloudformation/cognito.yaml at lines 43-53 and compare the indentation with the proposed YAML in the issue. Validate that the corrected structure parses successfully and that the file matches the intended AttributeMapping, IdpIdentifiers, and ProviderDetails nesting.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, yaml
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.