Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/github/easy-github-user-add-gpg-key/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resource "github_user_gpg_key" "userx" {
armored_public_key = "-----BEGIN PGP PUBLIC KEY BLOCK-----\n...\n-----END PGP PUBLIC KEY BLOCK-----"
}
3 changes: 3 additions & 0 deletions examples/github/easy-github-user-add-gpg-key/providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
provider "github" {
token = "your personal github token" #you can use variable or other safe ways
}
10 changes: 10 additions & 0 deletions examples/github/easy-github-user-add-gpg-key/terraform.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# https://github.com/ssbostan/terraform-awesome

terraform {
required_providers {
github = {
source = "integrations/github"
version = "~> 4.0"
}
}
}