aws / aws/git-remote-codecommit
Please add to documentation (README) what standard AWS variables are supported.
- Vorherrschende Sprache
- Python
- Sterne
- 289
- Forks
- 40
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
I discovered by accident that profile name does not have to be a part of codedommit URL, but instead can be obtained from `AWS_PROFILE` environment variable.
While this is not a preferred way of setting up your local environment, it is absolutely necessary for automation, e.g. modules in Terraform.
Where you don't want to hardcode profiles in morule's source URL, but can setup a profile on the side and use it to get access to the repo when initializing your terraform.
I.e.
```
module "my_module" {
source = "git::codecommit::us-east-1://my-module-repo?ref=main"
...
}
```
I can then run my terraform like this:
```
AWS_PROFILE=my-profile terraform init
```
Beitragsleitfaden
Rechercherichtung
Aktualisieren Sie die README, um zu dokumentieren, dass die CodeCommit-URL den Profilnamen weglassen kann, wenn AWS_PROFILE gesetzt ist. Beginnen Sie damit, die Konfigurations- oder Nutzungsdokumentation der README zu finden, und verwenden Sie dann das Terraform-Beispiel des Issues als Referenz. Die Änderung ist abgeschlossen, wenn die unterstützte AWS-Variable und ihr Anwendungsfall für die Automatisierung klar beschrieben sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- aws, terraform
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Ruhig
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 55/100