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
preguntada hace 8 meses220 visualizaciones
2 Respuestas
0
Respuesta aceptada

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

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas