Rohit R
Rohit R

Reputation: 1

Updating an existing AWS Resource using Cloudformation Template

So I have a dynamodb table provisioned via cloudformation stack. Now I would like to update the dynamodb table to have mutilple GSI's.

The problem here is i dont have access to the CF Template that was used to initially create the dynamodb table.

Now, can i use a different CF Template to update the existing resource with additional config I am looking for referencing the ARN of the dynamodb table? If so, how do it achieve it?

Upvotes: 0

Views: 1994

Answers (1)

Marcin
Marcin

Reputation: 238199

The problem here is i dont have access to the CF Template

The source code of a stack template is available in AWS Console, under Template window. Thus, you can copy and paste it, modify and update the stack.

enter image description here

Edit:

Based on the additional info in the comments, it is possible that the stack has drifted. If this is the case, then the template code given in the console is in-valid.

Drift detection can be used to inspect such possibility.

Upvotes: 1

Related Questions