Skip to content

Commit 6b62423

Browse files
committed
fix: aws sso access token is required
1 parent f96be03 commit 6b62423

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v0.16.2
2+
3+
FIXES:
4+
5+
- AWS SSO access token is required.
6+
17
## v0.16.1
28

39
FIXES:

docs/resources/platform.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -503,12 +503,20 @@ Required:
503503
- `arn` (String) The ARN of your AWS IAM Identity Center Instance. E.g. `arn:aws:sso:::instance/ssoins-123456789abc`.
504504
- `group_name_pattern` (String) Configures the pattern that defines the desired name of AWS IAM Identity Center groups managed by meshStack. It follows the usual replicator string pattern features and provides the additional replacement 'platformGroupAlias', which contains the role name suffix, which is configurable via Role Mappings in this platform config or via a meshLandingZone. Operators must ensure the group names will be unique within the same AWS IAM Identity Center Instance with that configuration. meshStack will additionally prefix the group name with 'mst-' to be able to identify the groups that are managed by meshStack.
505505
- `scim_endpoint` (String) The SCIM endpoint you can find in your AWS IAM Identity Center Automatic provisioning config.
506+
- `sso_access_token` (Attributes) The AWS IAM Identity Center SCIM Access Token that was generated via the Automatic provisioning config in AWS IAM Identity Center. (see [below for nested schema](#nestedatt--spec--config--aws--replication--aws_sso--sso_access_token))
506507

507508
Optional:
508509

509510
- `aws_role_mappings` (Attributes List) AWS role mappings for AWS SSO (see [below for nested schema](#nestedatt--spec--config--aws--replication--aws_sso--aws_role_mappings))
510511
- `sign_in_url` (String) The AWS IAM Identity Center sign in Url, that must be used by end-users to log in via AWS IAM Identity Center to AWS Management Console.
511-
- `sso_access_token` (Attributes) The AWS IAM Identity Center SCIM Access Token that was generated via the Automatic provisioning config in AWS IAM Identity Center. (see [below for nested schema](#nestedatt--spec--config--aws--replication--aws_sso--sso_access_token))
512+
513+
<a id="nestedatt--spec--config--aws--replication--aws_sso--sso_access_token"></a>
514+
### Nested Schema for `spec.config.aws.replication.aws_sso.sso_access_token`
515+
516+
Required:
517+
518+
- `plaintext` (String, Sensitive) Plaintext secret value
519+
512520

513521
<a id="nestedatt--spec--config--aws--replication--aws_sso--aws_role_mappings"></a>
514522
### Nested Schema for `spec.config.aws.replication.aws_sso.aws_role_mappings`
@@ -535,14 +543,6 @@ Read-Only:
535543

536544

537545

538-
<a id="nestedatt--spec--config--aws--replication--aws_sso--sso_access_token"></a>
539-
### Nested Schema for `spec.config.aws.replication.aws_sso.sso_access_token`
540-
541-
Required:
542-
543-
- `plaintext` (String, Sensitive) Plaintext secret value
544-
545-
546546

547547
<a id="nestedatt--spec--config--aws--replication--enrollment_configuration"></a>
548548
### Nested Schema for `spec.config.aws.replication.enrollment_configuration`

internal/provider/platform_resource_schema_aws.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ func awsReplicationConfigSchema() schema.Attribute {
144144
MarkdownDescription: "Configures the pattern that defines the desired name of AWS IAM Identity Center groups managed by meshStack. It follows the usual replicator string pattern features and provides the additional replacement 'platformGroupAlias', which contains the role name suffix, which is configurable via Role Mappings in this platform config or via a meshLandingZone. Operators must ensure the group names will be unique within the same AWS IAM Identity Center Instance with that configuration. meshStack will additionally prefix the group name with 'mst-' to be able to identify the groups that are managed by meshStack.",
145145
Required: true,
146146
},
147-
"sso_access_token": secretEmbeddedSchema("The AWS IAM Identity Center SCIM Access Token that was generated via the Automatic provisioning config in AWS IAM Identity Center.", true),
147+
"sso_access_token": secretEmbeddedSchema("The AWS IAM Identity Center SCIM Access Token that was generated via the Automatic provisioning config in AWS IAM Identity Center.", false),
148148
"aws_role_mappings": schema.ListNestedAttribute{
149149
MarkdownDescription: "AWS role mappings for AWS SSO",
150150
Optional: true,

0 commit comments

Comments
 (0)