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

chore: remove max terraform version limit #152

Merged
merged 3 commits into from
Nov 5, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Install Terraform v${{ steps.minMax.outputs.minVersion }}
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.5 # ${{ steps.minMax.outputs.minVersion }}
terraform_version: ${{ steps.minMax.outputs.minVersion }}
- name: Install pre-commit dependencies
run: |
pip install pre-commit
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Install Terraform v${{ matrix.version }}
uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.5 #${{ matrix.version }}
terraform_version: ${{ matrix.version }}
- name: Install pre-commit dependencies
run: |
pip install pre-commit
Expand Down
2 changes: 1 addition & 1 deletion examples/organization-org_compliance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ module "secure-for-cloud_example_organization" {

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0, < 1.6.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0 |
| <a name="requirement_google"></a> [google](#requirement\_google) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_google-beta"></a> [google-beta](#requirement\_google-beta) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_sysdig"></a> [sysdig](#requirement\_sysdig) | >= 0.5.46 |
Expand Down
2 changes: 1 addition & 1 deletion examples/organization-org_compliance/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.15.0, < 1.6.0"
required_version = ">= 0.15.0"

required_providers {
google = {
Expand Down
2 changes: 1 addition & 1 deletion examples/organization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ module "secure-for-cloud_example_organization" {

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0, < 1.6.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0 |
| <a name="requirement_google"></a> [google](#requirement\_google) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_google-beta"></a> [google-beta](#requirement\_google-beta) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_sysdig"></a> [sysdig](#requirement\_sysdig) | >= 0.5.21 |
Expand Down
2 changes: 1 addition & 1 deletion examples/organization/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.15.0, < 1.6.0"
required_version = ">= 0.15.0"

required_providers {
google = {
Expand Down
2 changes: 1 addition & 1 deletion examples/single-project-k8s/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ See [inputs summary](#inputs) or module module [`variables.tf`](./variables.tf)

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0, < 1.6.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0 |
| <a name="requirement_google"></a> [google](#requirement\_google) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_google-beta"></a> [google-beta](#requirement\_google-beta) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_helm"></a> [helm](#requirement\_helm) | >=2.3.0 |
Expand Down
2 changes: 1 addition & 1 deletion examples/single-project-k8s/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.15.0, < 1.6.0"
required_version = ">= 0.15.0"
required_providers {
google = {
source = "hashicorp/google"
Expand Down
2 changes: 1 addition & 1 deletion examples/single-project/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ module "secure-for-cloud_example_single-project" {

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0, < 1.6.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0 |
| <a name="requirement_google"></a> [google](#requirement\_google) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_google-beta"></a> [google-beta](#requirement\_google-beta) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_sysdig"></a> [sysdig](#requirement\_sysdig) | >= 0.5.21 |
Expand Down
2 changes: 1 addition & 1 deletion examples/single-project/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.15.0, < 1.6.0"
required_version = ">= 0.15.0"

required_providers {
google = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.15.0, < 1.6.0"
required_version = ">= 0.15.0"

required_providers {
google = {
Expand Down
2 changes: 1 addition & 1 deletion modules/services/cloud-bench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Deployed on **Sysdig Backend**

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0, < 1.6.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0 |
| <a name="requirement_google"></a> [google](#requirement\_google) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_google-beta"></a> [google-beta](#requirement\_google-beta) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_sysdig"></a> [sysdig](#requirement\_sysdig) | >= 0.5.21 |
Expand Down
2 changes: 1 addition & 1 deletion modules/services/cloud-bench/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.15.0, < 1.6.0"
required_version = ">= 0.15.0"

required_providers {
google = {
Expand Down
2 changes: 1 addition & 1 deletion modules/services/cloud-connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module "cloud_connector_gcp" {

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0, < 1.6.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 0.15.0 |
| <a name="requirement_google"></a> [google](#requirement\_google) | >= 4.21.0, < 5.0.0 |
| <a name="requirement_random"></a> [random](#requirement\_random) | >= 3.1.0 |

Expand Down
2 changes: 1 addition & 1 deletion modules/services/cloud-connector/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ resource "google_cloud_run_service" "cloud_connector" {
}

dynamic "env" {
for_each = var.sysdig_secure_api_token == "" ? toset([]) : toset([1])
for_each = nonsensitive(var.sysdig_secure_api_token) == "" ? [] : [1]

content {
name = "SECURE_API_TOKEN"
Expand Down
2 changes: 1 addition & 1 deletion modules/services/cloud-connector/versions.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
terraform {
required_version = ">= 0.15.0, < 1.6.0"
required_version = ">= 0.15.0"

required_providers {
google = {
Expand Down
Loading