Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Updating a connector in AWS

Learn how to update a connector through the AWS CLI

Periodically, you may need to update your AWS connector to help maintain functionality, performance, and security.

This article explains how to update a connector through the AWS Management Console or AWS CLI and redeploy the CloudFormation stack with the latest connector template.


Prerequisites

Item
Description

AWS Stack Name

In AWS CloudFormation, name of a collection of AWS resources managed as a single unit Use the following steps to retrieve the stack name:

  1. Go to the Stacks page.

  2. Under the Stack name column, copy the stack name.

AWS Command Line Interface (AWS CLI)

(CLI updates only) Open-source tool enabling interaction with AWS services using your command-line shell

AWS Permissions

Permissions enabling the ability to update the CloudFormation stack


Update a connector

AWS Management Console

Follow these steps to update the connector directly from the AWS CloudFormation console:

  1. Directly update the stack where the Apono connector is running.

  2. When you replace the existing template, specify the template location for your connector type.

Connector type
Template location

Account level

https://apono-public.s3.amazonaws.com/cloudformation/aws_integration_with_connector_template.yml

Organizational level - non-dual stack

https://apono-public.s3.amazonaws.com/cloudformation/aws_organization_integration_template.yml

Organizational level - dual stack

https://apono-public.s3.amazonaws.com/cloudformation/aws_organization_roles_only_integration_template.yml

AWS CLI

Follow these steps to update a connector:

  1. Set AWS_STACK_NAME to your AWS stack name.

  1. Copy the following Account level or Organization level AWS update script.

Use this command for an Organizational-level connector deployed directly in the AWS Management account.

Use this command for the Management-account stack of a dual-stack Organizational-level connector.

If you have not defined a default region and default profile, set the variables and specify them in the script.

  1. At your AWS CLI prompt, enter the updated script from the previous step to initiate the update. The AWS CLI will return an object containing the StackId.

  2. In CloudFormation, on the Stack Info tab, confirm that the update has completed:

    1. Go to the Stacks page. A list of the stacks in the account are displayed.

    2. Under the Stack name column, click the stack name.

    3. On the Stack info tab, check the Status.


Troubleshooting

This section details common errors that can occur during the updating process. If an error occurs that is not listed below, please contact your Apono representative.

An error occurred (ValidationError) when calling the UpdateStack operation: Stack [stack name] does not exist.

This occurs when the incorrect stack name has been included in the update script.

Use the following steps to correct this error:

  1. Locate and copy the stack name under the Stack name column of the Stacks page.

  2. Repeat the update process.

Last updated

Was this helpful?