1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
Hi,
Yes there is a way to do what you want to do but it would be done in multiple steps.
Step 1: Update your template you have shown above to be JUST the S3 Bucket and no other resources in the stack. Create a new Stack using this template using the Import option.
The result of step 1 will be a Stack that has a single resource which is an imported resource of the existing S3 bucket
Step 2: Replace the resources back into the template that you removed in Step 1 and then perform a Stack Update on your existing stack (not an import)
This will add the new resources (the Lambda function) to the stack and after the update is complete you should have the situation you wanted from the start.
I hope this helps and makes sense.
répondu il y a 2 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans