Option to specify S3 bucket to upload resource zip to

Aberta
#974 0 comentários 2 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
38/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
aws, python
Domínio
cli, cloud

Direção de pesquisa

Comece pelo comando cfn submit e compare seu fluxo normal com o workflow --dry-run descrito na issue. Rastreie onde CloudFormationManagedUploadInfrastructure é criado ou atualizado e, em seguida, defina como um bucket S3 fornecido deve ser usado para o upload e o registro do zip sem essa stack; a issue não menciona arquivos nem testes do repositório.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

help wanted

When trying to submit a new module via cfn submit, it fails as it tries to create a CFN stack which sets up an S3 bucket to upload the zip to, the CloudFormationManagedUploadInfrastructure stack. In my case it fails as it tries to set up a resource without a permissions boundary.

I tried updating the template to include the permissions boundary, which worked and the stack was created successfully, but when I then run cfn submit, it tries to update the stack to remove the permissions boundary, which again fails.

As I understand it, the only point of this stack is to have an S3 bucket to store the zip so it can be registered in CFN. As such, it would be useful if we could just provide the S3 bucket ourselves to the submit command so we can set up the bucket in whichever way necessary.

I have currently worked around this by running cfn submit --dry-run to get the zip file, then using the AWS CLI to upload to S3 and register the module.

Linguagem predominante
Python
Estrelas
336
Forks
173
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de aws-cloudformation/cloudformation-cli

Todas as issues de aws-cloudformation/cloudformation-cli

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.