Skip to content

aws_workspacesweb_portal does not fully implement max_concurrent_sesessions attribute #45200

@dms1981

Description

@dms1981

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

  1. Attempt a terraform validate or terraform plan with the example configuration.
  2. 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

No one assigned

    Labels

    bugAddresses a defect in current functionality.service/workspaceswebIssues and PRs that pertain to the workspacesweb service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions