adobe / adobe/ops-cli

Migrate ec2inventory plugin to use boto3

Offen
#2 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
203
Forks
39
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

[Migrated]

The upgrade to Boto3 is part of an ongoing initiative of having a single instance which coordinates deployments - with support for automatic deployments in pre-production environments.

Boto3 has built-in support for the default AWS Credentials Providers stack.

We need to set the cross-account trusting policies for our accounts, being then able to specify automatic role assumption in a cross-account context via ~/.aws/config.

It might now work out of the box, as it doesn't for aws-cli (see: https://github.com/aws/aws-cli/issues/1604 and https://github.com/aws/aws-cli/issues/1390).
In that case, we would need to do programatic role assumption - I was not been able to fully test this yet (permissions).

Note
This change is intended to be backward-compatible with the current setup - in other words, temporary/static credentials should work as before.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Finde zuerst das ec2inventory-Plugin und verfolge seine aktuelle Handhabung von AWS-Anmeldeinformationen. Prüfe, ob der Standardanbieter für Anmeldeinformationen von boto3 die angegebene kontoübergreifende Konfiguration unterstützt, und bewerte anschließend bei Bedarf die programmatische Rollenübernahme; als erledigt gilt die Aufgabe, wenn die Kompatibilität mit temporären/statischen Anmeldeinformationen erhalten bleibt und gleichzeitig die beabsichtigte Konfiguration ermöglicht wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

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

Neue Issues direkt in Ihr Postfach

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