Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial test of stacks #144

Merged
merged 7 commits into from
Jan 10, 2025
Merged
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
122 changes: 61 additions & 61 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion non-vcs-workspaces.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ locals {

module "non-vcs-connected-workspace" {
source = "ausmartway/non-vcs-connected-workspace/tfe"
version = "0.1.0"
version = "0.1.1"
for_each = local.inputworkspacemap
# insert the 4 required variables here
organization = var.organization
Expand Down
1 change: 1 addition & 0 deletions projects/project-playground.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
name: Playground
19 changes: 19 additions & 0 deletions stacks.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# terraform stacks is a new feature introduced

resource "tfe_stack" "test-stack" {
name = "my-stack"
description = "A Terraform Stack using two components with two environments"
project_id = tfe_project.projects["Playground"].id

vcs_repo {
branch = "main"
identifier = "ausmartway/stack-repo"
oauth_token_id = local.tfc_oauth_token
}
}

resource github_repository "stack-repo" {
name = "stack-repo"
description = "A repository for the stack"
visibility = "private"
}
2 changes: 1 addition & 1 deletion vcs-connected-workspaces.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ locals {

module "vcs-connected-workspace" {
source = "ausmartway/vcs-connected-workspace/tfe"
version = "0.1.0"
version = "0.1.1"
# insert the 5 required variables here
for_each = local.inputvcsworkspacemap
organization = var.organization
Expand Down
4 changes: 2 additions & 2 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ terraform {
required_version = ">= 1.0"
required_providers {
tfe = {
source = "ausmartway/tfe"
version = "0.59.2"
# source = "ausmartway/tfe"
version = ">=0.61"
}
vault = ">= 4.4.0"
github = {
Expand Down