ec2 spoke

Cherly
Tera Contributor

do you need to connected multiple connection alias for each aws account for different area. -additional context

 

 

 

We have uk and us they use different key and password and region. I have one credential alias. how do i make the flow correctly select the password for us or UK. 

3 REPLIES 3

Tanushree Maiti
Tera Patron

Hi @Cherly 

 

No, you do not need to create separate connection aliases for each AWS account or region to establish a functional integration.

Typically, connection credentials are configured once per AWS account, and the same aliases can then be reused across spokes.

 

Refer: How ServiceNow AWS Spokes Support Multiple Regions with a Single Connection

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

We have uk and us they use different key and password and region. I have one credential alias. how do i make the flow correctly select the password for us or UK. 

Hi @Cherly 

 

Based on location selection , select Flow Action.

e.g 

1.  Under the Connections related list, create two distinct connection records: one for the US endpoint (and its corresponding US credential) and one for the UK endpoint (and its UK credential). 

2. 

 Open your flow in Flow Designer. Create an input variable (e.g., Region or CountryCode) so you can pass either "US" or "UK" when triggering the flow

3.  Add the out-of-the-box Lookup Connection utility before your REST/Integration step. 

4. Map the Connection Attributes using a data pill. Set the filter/condition dynamically by checking your flow's Region input.

5.  In your REST step, set the Connection option to Use Connection Alias, select your alias, and then drag the Connection pill output from your Lookup Connection step into the Connection field. 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti