Skip to content

feat(terraform): add dotfiles repository config#4

Merged
zfael merged 1 commit into
mainfrom
feat/add-dotfiles-repo
Apr 29, 2026
Merged

feat(terraform): add dotfiles repository config#4
zfael merged 1 commit into
mainfrom
feat/add-dotfiles-repo

Conversation

@zfael
Copy link
Copy Markdown
Owner

@zfael zfael commented Apr 29, 2026

No description provided.

@zfael zfael merged commit e5db3c5 into main Apr 29, 2026
1 check passed
@github-actions
Copy link
Copy Markdown

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Terraform Plan 📖success

Show Plan
Running plan in HCP Terraform. Output will stream here. Pressing Ctrl-C
will stop streaming the logs, but will not stop the plan running remotely.

Preparing the remote plan...

To view this run in a browser, visit:
https://app.terraform.io/app/bertelli/github-infra/runs/run-FE6ZYeKgodwxAWSC

Waiting for the plan to start...

Terraform v1.14.0
on linux_amd64
Initializing plugins and modules...
module.repositories["homelab"].github_repository.this: Refreshing state... [id=homelab]
module.repositories["pink-killer"].github_repository.this: Refreshing state... [id=pink-killer]
module.repositories["tfm"].github_repository.this: Refreshing state... [id=tfm]
module.repositories["wzz-bud"].github_repository.this: Refreshing state... [id=wzz-bud]
module.repositories["arc-raiders-scripts"].github_repository.this: Refreshing state... [id=arc-raiders-scripts]
module.repositories["dota2-scripts"].github_repository.this: Refreshing state... [id=dota2-scripts]
module.repositories["brn"].github_repository.this: Refreshing state... [id=brn]
module.repositories["dev-pilot"].github_repository.this: Refreshing state... [id=dev-pilot]
module.branch_protection["brn"].github_branch_protection.this: Refreshing state... [id=BPR_kwDORMPJlc4EZahT]
module.branch_protection["dota2-scripts"].github_branch_protection.this: Refreshing state... [id=BPR_kwDOQhRHws4EMXva]
module.branch_protection["tfm"].github_branch_protection.this: Refreshing state... [id=BPR_kwDOQxIkSM4EPt2c]
module.branch_protection["dev-pilot"].github_branch_protection.this: Refreshing state... [id=BPR_kwDORMPJZ84EVEFg]
module.branch_protection["arc-raiders-scripts"].github_branch_protection.this: Refreshing state... [id=BPR_kwDOQZFaQc4EMX5M]
module.repositories["wzz-bud"].github_repository.this: Drift detected (update)
module.repositories["homelab"].github_repository.this: Drift detected (update)
╷
│ Warning: Deprecated attribute
│
│   on modules/repository/outputs.tf line 33, in output "default_branch":33:   value       = github_repository.this.default_branch
│
│ The attribute "default_branch" is deprecated. Refer to the provider
│ documentation for details.
╵

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:

  # module.repositories["dotfiles"].github_repository.this will be created
  + resource "github_repository" "this" {
      + allow_auto_merge            = false
      + allow_merge_commit          = true
      + allow_rebase_merge          = true
      + allow_squash_merge          = true
      + archive_on_destroy          = true
      + archived                    = false
      + auto_init                   = false
      + default_branch              = (known after apply)
      + delete_branch_on_merge      = true
      + description                 = "Personal dotfiles"
      + etag                        = (known after apply)
      + full_name                   = (known after apply)
      + git_clone_url               = (known after apply)
      + has_discussions             = false
      + has_downloads               = false
      + has_issues                  = true
      + has_projects                = false
      + has_wiki                    = false
      + html_url                    = (known after apply)
      + http_clone_url              = (known after apply)
      + id                          = (known after apply)
      + is_template                 = false
      + merge_commit_message        = "PR_TITLE"
      + merge_commit_title          = "MERGE_MESSAGE"
      + name                        = "dotfiles"
      + node_id                     = (known after apply)
      + primary_language            = (known after apply)
      + private                     = (known after apply)
      + repo_id                     = (known after apply)
      + squash_merge_commit_message = "COMMIT_MESSAGES"
      + squash_merge_commit_title   = "COMMIT_OR_PR_TITLE"
      + ssh_clone_url               = (known after apply)
      + svn_url                     = (known after apply)
      + topics                      = (known after apply)
      + visibility                  = "private"
      + vulnerability_alerts        = true
      + web_commit_signoff_required = false
        # (2 unchanged attributes hidden)

      + security_and_analysis (known after apply)
    }

  # module.repositories["homelab"].github_repository.this will be updated in-place
  ~ resource "github_repository" "this" {
      ~ has_wiki                    = false -> true
        id                          = "homelab"
        name                        = "homelab"
        # (41 unchanged attributes hidden)
    }

  # module.repositories["wzz-bud"].github_repository.this will be updated in-place
  ~ resource "github_repository" "this" {
      ~ has_wiki                    = false -> true
        id                          = "wzz-bud"
        name                        = "wzz-bud"
        # (41 unchanged attributes hidden)
    }

Plan: 1 to add, 2 to change, 0 to destroy.

Changes to Outputs:
  ~ repositories       = {
      + dotfiles            = {
          + default_branch = (known after apply)
          + full_name      = (known after apply)
          + html_url       = (known after apply)
          + http_clone_url = (known after apply)
          + id             = (known after apply)
          + ssh_clone_url  = (known after apply)
        }
        # (8 unchanged attributes hidden)
    }
  ~ repository_urls    = {
      + dotfiles            = (known after apply)
        # (8 unchanged attributes hidden)
    }

------------------------------------------------------------------------

Cost Estimation:

Resources: 0 of 14 estimated
           $0.0/mo +$0.0

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pusher: @zfael, Action: pull_request, Workflow: Terraform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant