terraform/github.tf

21 lines
421 B
Terraform
Raw Permalink Normal View History

2023-10-23 05:18:55 +00:00
terraform {
required_providers {
github = {
source = "integrations/github"
version = "~> 5.0"
}
}
}
# Configure the GitHub Provider
provider "github" {
token = "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"
}
resource "github_repository" "example" {
name = "example"
description = "My awesome codebase"
visibility = "public"
}