-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
bugAddresses a defect in current functionality.Addresses a defect in current functionality.service/workspaceswebIssues and PRs that pertain to the workspacesweb service.Issues and PRs that pertain to the workspacesweb service.
Description
Terraform and AWS Provider Version
Terraform version: `1.13.5`
AWS Provider version `6.22.0`Affected Resource(s) or Data Source(s)
aws_workspacesweb_portal
Expected Behavior
Setting a value for max_concurrent_settings should result in the relevant portal being updated with the specified max_concurrent_settings.
EG:
resource "aws_workspacesweb_portal" "example" {
max_concurrent_settings = 1000
}
Should result in a maximum concurrency of 1000 sessions.
Actual Behavior
Supplying any value results in an Unsupported argument error.
Relevant Error/Panic Output
│ Error: Unsupported argument
│
│ on workspaces-secure-browser.tf line 34, in resource "aws_workspacesweb_portal" "example":
│ 34: max_concurrent_settings = 1000
│
│ An argument named "max_concurrent_settings" is not expected here.Sample Terraform Configuration
Click to expand configuration
Steps to Reproduce
- Attempt a
terraform validateorterraform planwith the example configuration. - Observe the error in the console.
Debug Logging
Click to expand log output
GenAI / LLM Assisted Development
n/a
Important Facts and References
The variable is present in code here: https://github.com/hashicorp/terraform-provider-aws/blob/main/internal/service/workspacesweb/portal.go#L129
However, checking the rest of the resource code this variable isn't used anywhere.
Would you like to implement a fix?
No
Metadata
Metadata
Assignees
Labels
bugAddresses a defect in current functionality.Addresses a defect in current functionality.service/workspaceswebIssues and PRs that pertain to the workspacesweb service.Issues and PRs that pertain to the workspacesweb service.