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
feita há 8 meses219 visualizações
2 Respostas
0
Resposta aceita

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
respondido há 8 meses
  • 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
ESPECIALISTA
kentrad
respondido há 8 meses
  • Thanks for your assistance. I think I will try different approach to create my Vault programmatically.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas