Option to specify S3 bucket to upload resource zip to

Offen
#974 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
aws, python
Bereich
cli, cloud

Rechercherichtung

Beginne beim cfn submit-Befehl und vergleiche seinen normalen Ablauf mit dem im Issue beschriebenen --dry-run-Workflow. Verfolge, wo CloudFormationManagedUploadInfrastructure erstellt oder aktualisiert wird, und lege dann fest, wie ein angegebener S3-Bucket für den ZIP-Upload und die Registrierung ohne diesen Stack verwendet werden sollte; im Issue werden keine Repository-Dateien oder Tests genannt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
Python
Sterne
336
Forks
173
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus aws-cloudformation/cloudformation-cli

Alle Issues in aws-cloudformation/cloudformation-cli

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.