Skip to content

Comments

Update Terraform advanced example#2

Open
frittenlab wants to merge 6 commits intosyseleven:mainfrom
frittenlab:terraform-example-advanced
Open

Update Terraform advanced example#2
frittenlab wants to merge 6 commits intosyseleven:mainfrom
frittenlab:terraform-example-advanced

Conversation

@frittenlab
Copy link
Contributor

Update Terraform advanced example to use the V2 endpoints. Added nested block for private and public ip configuration

disksize = var.db_disk_size
flavor = var.db_flavor
region = var.region
remote_ips = var.db_remote_ips
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test this? 🤔 I think remote_ips isn't valid here with v2.

default = "10.245.0.0/24"
}

variable "db_remote_ips" {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
variable "db_remote_ips" {
variable "allowed_cidrs" {

sys11dbaas = {
source = "registry.terraform.io/syseleven/sys11dbaas"
version = ">= 0.2.0"
version = ">= 0.3.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
version = ">= 0.3.0"
version = ">= 0.3.2"

@@ -1,33 +0,0 @@
terraform {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep it for now, its still used in templates/resources/database.md.tmpl. We will remove it when we drop the v1 resource.

frittenlab and others added 2 commits August 21, 2025 14:57
Co-authored-by: Matthias Baur <baurmatt@users.noreply.github.com>
Co-authored-by: Matthias Baur <baurmatt@users.noreply.github.com>
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.

2 participants