Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New AWS Workspaces Cross Region Redirection Support #16416

Open
dthvt opened this issue Nov 24, 2020 · 1 comment
Open

New AWS Workspaces Cross Region Redirection Support #16416

dthvt opened this issue Nov 24, 2020 · 1 comment
Labels
new-resource Introduces a new resource. service/workspaces Issues and PRs that pertain to the workspaces service.

Comments

@dthvt
Copy link
Contributor

dthvt commented Nov 24, 2020

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

AWS Workspaces has added cross-region redirection support for disaster recovery. Propose adding one or more new resources to enable support in terraform.

New or Affected Resource(s)

  • aws_workspaces_connection_alias
  • aws_workspaces_connection_alias_association

Potential Terraform Configuration

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

References

@dthvt dthvt added the enhancement Requests to existing resources that expand the functionality or scope. label Nov 24, 2020
@ghost ghost added the service/workspaces Issues and PRs that pertain to the workspaces service. label Nov 24, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Nov 24, 2020
@bflad bflad added new-resource Introduces a new resource. and removed enhancement Requests to existing resources that expand the functionality or scope. needs-triage Waiting for first response or review from a maintainer. labels Nov 25, 2020
@Tensho Tensho self-assigned this Dec 17, 2020
@brittandeyoung
Copy link
Collaborator

brittandeyoung commented Jun 22, 2023

To add some context here. With looking at the APIs for this, there will likely need to be three additional terraform resources:

  • aws_workspaces_connection_alias
  • aws_workspaces_workspace_connection_alias_permissions
  • aws_workspaces_workspace_connection_alias_association

Here is some example code.

resource "aws_workspaces_connection_alias" "this" {
  connection_string = "this.is.test"
  tags = {
    tag1 = "TagValue"
  }
}

resource "aws_workspaces_connection_alias_permission" "this" {
  alias_id = aws_workspaces_workspace_connection_alias.this.id
  allow_association = true
  share_account_id  = "111111111111"
}

resource "aws_workspaces_connection_alias_association" "this" {
  alias_id    = aws_workspaces_workspace_connection_alias.this.id
  resource_id = aws_workspaces_directory.this.id
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-resource Introduces a new resource. service/workspaces Issues and PRs that pertain to the workspaces service.
Projects
None yet
Development

No branches or pull requests

4 participants