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
質問済み 8ヶ月前220ビュー
2回答
0
承認された回答

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
回答済み 8ヶ月前
  • 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
エキスパート
kentrad
回答済み 8ヶ月前
  • Thanks for your assistance. I think I will try different approach to create my Vault programmatically.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ