Option to specify S3 bucket to upload resource zip to

Aperta
#974 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
aws, python
Ambito
cli, cloud

Direzione di ricerca

Inizia dal comando cfn submit e confronta il suo percorso normale con il workflow --dry-run descritto nell’issue. Traccia dove CloudFormationManagedUploadInfrastructure viene creato o aggiornato, quindi definisci come dovrebbe essere utilizzato un bucket S3 fornito per l’upload e la registrazione dello zip senza quello stack; l’issue non indica file o test del repository.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
336
Fork
173
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aws-cloudformation/cloudformation-cli

Tutte le issue di aws-cloudformation/cloudformation-cli

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.