aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

AWS::WorkSpacesWeb::UserSettings - CloudFormation unable to add AllowList for CookieSynchronizationConfiguration

Open
#2,011 1 comment 0 reactions 0 assignees View on GitHub
Coverage
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::WorkSpacesWeb::UserSettings

### Resource name

_No response_

### Description

CloudFormation unable to update the existing User Setting managed by CloudFormation with the
`CookieSynchronizationConfiguration`.

When adding the below snippet, CloudFormation throws an error:

```
UserSettings:
Type: AWS::WorkSpacesWeb::UserSettings
Properties:
CookieSynchronizationConfiguration:
Allowlist:
- Domain: .login.microsoftonline.com
CopyAllowed: Enabled
DownloadAllowed: Enabled
PasteAllowed: Enabled
PrintAllowed: Enabled
UploadAllowed: Enabled
DisconnectTimeoutInMinutes: 10
IdleDisconnectTimeoutInMinutes: 5
```
**Error**
```
Resource handler returned message: "null" (RequestToken: 340dd58c-809a-ed40-6f31-e73c83b7a472, HandlerErrorCode: InternalFailure)
```

Additionally, the [documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-workspacesweb-usersettings-cookiespecification.html) mentions that it supports the `name` and `path` property. However, adding the same from CloudFormation also leads to the same error.

These properties seem to be contrary to the console and cli behaviour wherein, it **does not** allow to add these properties. Maybe the documentation should be updated to reflect the same behaviour as well.

### Other Details

https://docs.aws.amazon.com/cli/latest/reference/workspaces-web/update-user-settings.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.