Terraform plan in terraform
With var files: terraform/production/org.tfvars terraform/production/repositories.tfvars
With variables: github_token = (sensitive value)
Plan: 1 to import, 11 to add, 3 to change, 0 to destroy.
```diff
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
!~ update in-place
Terraform will perform the following actions:
# github_repository.this["django-tailwind-cli"] will be updated in-place
# (imported from "django-tailwind-cli")
!~ resource "github_repository" "this" {
allow_auto_merge = false
!~ allow_merge_commit = true -> false
!~ allow_rebase_merge = true -> false
allow_squash_merge = true
!~ allow_update_branch = false -> true
+ archive_on_destroy = true
archived = false
auto_init = false
default_branch = "main"
!~ delete_branch_on_merge = false -> true
description = "Django and Tailwind integration based on the prebuilt Tailwind CSS CLI."
etag = "W/\"d3b8770b95b19dfede5471d1800c01ffb02cc915532c135eea3add1dfafec62b\""
full_name = "django-commons/django-tailwind-cli"
git_clone_url = "git://github.com/django-commons/django-tailwind-cli.git"
has_discussions = true
has_downloads = true
has_issues = true
has_projects = true
has_wiki = false
homepage_url = "https://django-tailwind-cli.rtfd.io/"
html_url = "https://github.com/django-commons/django-tailwind-cli"
http_clone_url = "https://github.com/django-commons/django-tailwind-cli.git"
id = "django-tailwind-cli"
is_template = false
merge_commit_message = "PR_TITLE"
merge_commit_title = "MERGE_MESSAGE"
name = "django-tailwind-cli"
node_id = "************"
primary_language = "Python"
private = false
repo_id = 556335248
squash_merge_commit_message = "COMMIT_MESSAGES"
squash_merge_commit_title = "COMMIT_OR_PR_TITLE"
ssh_clone_url = "git@github.com:django-commons/django-tailwind-cli.git"
svn_url = "https://github.com/django-commons/django-tailwind-cli"
topics = [
"django",
"django-application",
"python",
"tailwind",
"tailwind-css",
"tailwindcss",
]
visibility = "public"
!~ vulnerability_alerts = false -> true
web_commit_signoff_required = false
- pages {
- build_type = "legacy" -> null
- cname = "django-tailwind-cli.andrich.me" -> null
- custom_404 = true -> null
- html_url = "https://django-tailwind-cli.andrich.me/" -> null
- status = "built" -> null
- url = "https://api.github.com/repos/django-commons/django-tailwind-cli/pages" -> null
- source {
- branch = "gh-pages" -> null
- path = "/" -> null
}
}
security_and_analysis {
secret_scanning {
status = "disabled"
}
secret_scanning_push_protection {
status = "disabled"
}
}
+ template {
+ include_all_branches = false
+ owner = "django-commons"
repository = null
}
}
# github_repository_environment.pypi["django-tailwind-cli"] will be created
+ resource "github_repository_environment" "pypi" {
+ can_admins_bypass = true
+ environment = "pypi"
+ id = (known after apply)
+ prevent_self_review = false
+ repository = "django-tailwind-cli"
+ reviewers {
+ teams = (known after apply)
}
}
# github_repository_environment.testpypi["django-tailwind-cli"] will be created
+ resource "github_repository_environment" "testpypi" {
+ can_admins_bypass = true
+ environment = "testpypi"
+ id = (known after apply)
+ prevent_self_review = false
+ repository = "django-tailwind-cli"
}
# github_team.repo_admin_team["django-tailwind-cli"] will be created
+ resource "github_team" "repo_admin_team" {
+ create_default_maintainer = false
+ description = "Admin team for the django-tailwind-cli repository"
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "django-tailwind-cli-admins"
+ node_id = (known after apply)
+ parent_team_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "closed"
+ slug = (known after apply)
}
# github_team.repo_committer_team["django-tailwind-cli"] will be created
+ resource "github_team" "repo_committer_team" {
+ create_default_maintainer = false
+ description = "Committers team for the django-tailwind-cli repository"
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "django-tailwind-cli-committers"
+ node_id = (known after apply)
+ parent_team_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "closed"
+ slug = (known after apply)
}
# github_team.repo_team["django-tailwind-cli"] will be created
+ resource "github_team" "repo_team" {
+ create_default_maintainer = false
+ description = "Main team for the django-tailwind-cli repository"
+ etag = (known after apply)
+ id = (known after apply)
+ members_count = (known after apply)
+ name = "django-tailwind-cli"
+ node_id = (known after apply)
+ parent_team_read_id = (known after apply)
+ parent_team_read_slug = (known after apply)
+ privacy = "closed"
+ slug = (known after apply)
}
# github_team_members.repo_admin_members["django-tailwind-cli"] will be created
+ resource "github_team_members" "repo_admin_members" {
+ id = (known after apply)
+ team_id = (known after apply)
+ members {
+ role = "member"
+ username = "oliverandrich"
}
}
# github_team_members.repo_committer_team_members["django-debug-toolbar"] will be updated in-place
!~ resource "github_team_members" "repo_committer_team_members" {
id = "11354340"
# (1 unchanged attribute hidden)
+ members {
+ role = "member"
+ username = "living180"
}
# (2 unchanged blocks hidden)
}
# github_team_members.repo_team_members["django-debug-toolbar"] will be updated in-place
!~ resource "github_team_members" "repo_team_members" {
id = "11354339"
# (1 unchanged attribute hidden)
+ members {
+ role = "member"
+ username = "living180"
}
# (5 unchanged blocks hidden)
}
# github_team_members.repo_team_members["django-tailwind-cli"] will be created
+ resource "github_team_members" "repo_team_members" {
+ id = (known after apply)
+ team_id = (known after apply)
+ members {
+ role = "member"
+ username = "oliverandrich"
}
}
# github_team_repository.repo_admin_team_access["django-tailwind-cli"] will be created
+ resource "github_team_repository" "repo_admin_team_access" {
+ etag = (known after apply)
+ id = (known after apply)
+ permission = "admin"
+ repository = "django-tailwind-cli"
+ team_id = (known after apply)
}
# github_team_repository.repo_committer_team_access["django-tailwind-cli"] will be created
+ resource "github_team_repository" "repo_committer_team_access" {
+ etag = (known after apply)
+ id = (known after apply)
+ permission = "maintain"
+ repository = "django-tailwind-cli"
+ team_id = (known after apply)
}
# github_team_repository.repo_team_access["django-tailwind-cli"] will be created
+ resource "github_team_repository" "repo_team_access" {
+ etag = (known after apply)
+ id = (known after apply)
+ permission = "triage"
+ repository = "django-tailwind-cli"
+ team_id = (known after apply)
}
# github_team_settings.this["django-tailwind-cli"] will be created
+ resource "github_team_settings" "this" {
+ id = (known after apply)
+ team_id = (known after apply)
+ team_slug = (known after apply)
+ team_uid = (known after apply)
+ review_request_delegation {
+ algorithm = "LOAD_BALANCE"
+ member_count = 2
+ notify = false
}
}
Plan: 1 to import, 11 to add, 3 to change, 0 to destroy.
```
Terraform plan in terraform With var files:
terraform/production/org.tfvars terraform/production/repositories.tfvars
With variables:github_token = (sensitive value)
Plan: 1 to import, 11 to add, 3 to change, 0 to destroy.
```diff Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create !~ update in-place Terraform will perform the following actions: # github_repository.this["django-tailwind-cli"] will be updated in-place # (imported from "django-tailwind-cli") !~ resource "github_repository" "this" { allow_auto_merge = false !~ allow_merge_commit = true -> false !~ allow_rebase_merge = true -> false allow_squash_merge = true !~ allow_update_branch = false -> true + archive_on_destroy = true archived = false auto_init = false default_branch = "main" !~ delete_branch_on_merge = false -> true description = "Django and Tailwind integration based on the prebuilt Tailwind CSS CLI." etag = "W/\"d3b8770b95b19dfede5471d1800c01ffb02cc915532c135eea3add1dfafec62b\"" full_name = "django-commons/django-tailwind-cli" git_clone_url = "git://github.com/django-commons/django-tailwind-cli.git" has_discussions = true has_downloads = true has_issues = true has_projects = true has_wiki = false homepage_url = "https://django-tailwind-cli.rtfd.io/" html_url = "https://github.com/django-commons/django-tailwind-cli" http_clone_url = "https://github.com/django-commons/django-tailwind-cli.git" id = "django-tailwind-cli" is_template = false merge_commit_message = "PR_TITLE" merge_commit_title = "MERGE_MESSAGE" name = "django-tailwind-cli" node_id = "************" primary_language = "Python" private = false repo_id = 556335248 squash_merge_commit_message = "COMMIT_MESSAGES" squash_merge_commit_title = "COMMIT_OR_PR_TITLE" ssh_clone_url = "git@github.com:django-commons/django-tailwind-cli.git" svn_url = "https://github.com/django-commons/django-tailwind-cli" topics = [ "django", "django-application", "python", "tailwind", "tailwind-css", "tailwindcss", ] visibility = "public" !~ vulnerability_alerts = false -> true web_commit_signoff_required = false - pages { - build_type = "legacy" -> null - cname = "django-tailwind-cli.andrich.me" -> null - custom_404 = true -> null - html_url = "https://django-tailwind-cli.andrich.me/" -> null - status = "built" -> null - url = "https://api.github.com/repos/django-commons/django-tailwind-cli/pages" -> null - source { - branch = "gh-pages" -> null - path = "/" -> null } } security_and_analysis { secret_scanning { status = "disabled" } secret_scanning_push_protection { status = "disabled" } } + template { + include_all_branches = false + owner = "django-commons" repository = null } } # github_repository_environment.pypi["django-tailwind-cli"] will be created + resource "github_repository_environment" "pypi" { + can_admins_bypass = true + environment = "pypi" + id = (known after apply) + prevent_self_review = false + repository = "django-tailwind-cli" + reviewers { + teams = (known after apply) } } # github_repository_environment.testpypi["django-tailwind-cli"] will be created + resource "github_repository_environment" "testpypi" { + can_admins_bypass = true + environment = "testpypi" + id = (known after apply) + prevent_self_review = false + repository = "django-tailwind-cli" } # github_team.repo_admin_team["django-tailwind-cli"] will be created + resource "github_team" "repo_admin_team" { + create_default_maintainer = false + description = "Admin team for the django-tailwind-cli repository" + etag = (known after apply) + id = (known after apply) + members_count = (known after apply) + name = "django-tailwind-cli-admins" + node_id = (known after apply) + parent_team_id = (known after apply) + parent_team_read_id = (known after apply) + parent_team_read_slug = (known after apply) + privacy = "closed" + slug = (known after apply) } # github_team.repo_committer_team["django-tailwind-cli"] will be created + resource "github_team" "repo_committer_team" { + create_default_maintainer = false + description = "Committers team for the django-tailwind-cli repository" + etag = (known after apply) + id = (known after apply) + members_count = (known after apply) + name = "django-tailwind-cli-committers" + node_id = (known after apply) + parent_team_id = (known after apply) + parent_team_read_id = (known after apply) + parent_team_read_slug = (known after apply) + privacy = "closed" + slug = (known after apply) } # github_team.repo_team["django-tailwind-cli"] will be created + resource "github_team" "repo_team" { + create_default_maintainer = false + description = "Main team for the django-tailwind-cli repository" + etag = (known after apply) + id = (known after apply) + members_count = (known after apply) + name = "django-tailwind-cli" + node_id = (known after apply) + parent_team_read_id = (known after apply) + parent_team_read_slug = (known after apply) + privacy = "closed" + slug = (known after apply) } # github_team_members.repo_admin_members["django-tailwind-cli"] will be created + resource "github_team_members" "repo_admin_members" { + id = (known after apply) + team_id = (known after apply) + members { + role = "member" + username = "oliverandrich" } } # github_team_members.repo_committer_team_members["django-debug-toolbar"] will be updated in-place !~ resource "github_team_members" "repo_committer_team_members" { id = "11354340" # (1 unchanged attribute hidden) + members { + role = "member" + username = "living180" } # (2 unchanged blocks hidden) } # github_team_members.repo_team_members["django-debug-toolbar"] will be updated in-place !~ resource "github_team_members" "repo_team_members" { id = "11354339" # (1 unchanged attribute hidden) + members { + role = "member" + username = "living180" } # (5 unchanged blocks hidden) } # github_team_members.repo_team_members["django-tailwind-cli"] will be created + resource "github_team_members" "repo_team_members" { + id = (known after apply) + team_id = (known after apply) + members { + role = "member" + username = "oliverandrich" } } # github_team_repository.repo_admin_team_access["django-tailwind-cli"] will be created + resource "github_team_repository" "repo_admin_team_access" { + etag = (known after apply) + id = (known after apply) + permission = "admin" + repository = "django-tailwind-cli" + team_id = (known after apply) } # github_team_repository.repo_committer_team_access["django-tailwind-cli"] will be created + resource "github_team_repository" "repo_committer_team_access" { + etag = (known after apply) + id = (known after apply) + permission = "maintain" + repository = "django-tailwind-cli" + team_id = (known after apply) } # github_team_repository.repo_team_access["django-tailwind-cli"] will be created + resource "github_team_repository" "repo_team_access" { + etag = (known after apply) + id = (known after apply) + permission = "triage" + repository = "django-tailwind-cli" + team_id = (known after apply) } # github_team_settings.this["django-tailwind-cli"] will be created + resource "github_team_settings" "this" { + id = (known after apply) + team_id = (known after apply) + team_slug = (known after apply) + team_uid = (known after apply) + review_request_delegation { + algorithm = "LOAD_BALANCE" + member_count = 2 + notify = false } } Plan: 1 to import, 11 to add, 3 to change, 0 to destroy. ```:memo: Plan generated in Plan org changes and list them in a PR #25