-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5996dcd
commit a2c8072
Showing
7 changed files
with
28 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,4 @@ | |
"features": { | ||
"ghcr.io/devcontainers/features/terraform:1": {} | ||
} | ||
"postCreateCommand": "../scripts/install.sh" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,31 @@ | ||
# tf-ghes-oidc | ||
Terraform configuration to setup cloud resources for OIDC on GHES. | ||
Terraform configuration to setup cloud resources for OpenID Connect (OIDC) on GitHub Enterprise Server (GHES). | ||
TODO: describe problem | ||
|
||
## Development | ||
|
||
install cli | ||
terraform init | ||
say about backend | ||
CI/CD | ||
tfvars | ||
plan out / apply file | ||
|
||
## Setup | ||
|
||
### Azure | ||
|
||
### Google Cloud | ||
|
||
gcloud init | ||
create project on gcp, make sure billing linked to project | ||
must run gcloud init (select project you created) | ||
source ~/.bashrc | ||
run gcloud auth application-default login | ||
update tf vars | ||
|
||
|
||
### AWS | ||
|
||
## Clean Up | ||
|
||
destroy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Install the AWS CLI | ||
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | ||
unzip awscliv2.zip | ||
sudo ./aws/install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Install the Azure CLI | ||
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
# Install Google Cloud CLI | ||
|
||
# Install the Google Cloud CLI | ||
curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-455.0.0-linux-x86_64.tar.gz | ||
tar -xf google-cloud-cli-455.0.0-linux-x86_64.tar.gz | ||
./google-cloud-sdk/install.sh | ||
|
||
./google-cloud-sdk/bin/gcloud init |