Does CloudFormation Support S3 Glacier Vault

0

I want to create an Amazon S3 Glacier Vault using CloudFormation template, but I couldn't find the resource in CloudFormation User Guide. Does CloudFormation not support S3 Glacier Vault and I have to create one manually via AWS Console or AWS CLI?

profile picture
HS
posta 8 mesi fa220 visualizzazioni
2 Risposte
0
Risposta accettata

Hi,

You can find the list of CloudFormation supported resources here -> https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html

I couldn't find the Amazon S3 Glacier Vault as the supported resources.

There are other ways you can programmatically create the AWS resources. In your case to create a Amazon S3 Glacier vault you can utilize AWS SDK and write a Lambda function to create the resources.

Here is an example code : https://docs.aws.amazon.com/code-library/latest/ug/glacier_example_glacier_CreateVault_section.html

You call create the Lambda Function using AWS CloudFormation and other resources for your application at one place. I have followed similar approach (different AWS resource) sometime back to achieve this. Sharing the blog and code will help you design your solution utilizing Amazon S3 Glacier vault SDK.

Blog: https://www.awsyarn.com/amazon-connect/
Code: https://github.com/avasisht/amazon-connect/tree/main/ac-base

I hope this will help you with your query.

Thanks,
Abhishek

profile picture
con risposta 8 mesi fa
  • Thanks for your assistance. I think I will try different approach to create my Vault programmatically.

0

Looks like S3 Glacier does not support CloudFormation. Have to use Console, CLI, or SDK. Or you can create a custom resource in CloudFormation.

profile pictureAWS
ESPERTO
kentrad
con risposta 8 mesi fa
  • Thanks for your assistance. I think I will try different approach to create my Vault programmatically.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande