WorkSpaces build automation with Service Catalog

0

Can I add a parameter to specify number of workspaces to launch with cloud formation? I am following this blog, which launches one workspace at a time. https://aws.amazon.com/blogs/mt/how-to-enable-self-service-amazon-workspaces-by-using-aws-service-catalog-connector-for-servicenow/

I would like to modify/add a parameter to specify the count within allowable limits.

How can I do this?

Thank you!

1 Answer
0
Accepted Answer

At the end of the day, Service Catalog is a framework around standard CloudFormation templates.

Two options:

Option 1

Create a custom CloudFormation resource (aka Lambda function) as part of the template. The Lambda will take a parameter from the template and make multiple API requests to Workspaces.

Option 2

Each Service Catalog portfolio product can be launched more than once. Create a Service Catalog template for one Workspace, but launch it multiple times as needed. The web UI is fine for a small number of launches or infrequent launches of one or a few instances. If you need to launch many instances, you can use service catalog APIs to automate deployment.

answered 4 years ago
profile picture
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions