Open linuxbsdfreak opened 8 years ago
you can ignore the warning about template for now
Ah, we don't yet support 0.7, but we're getting it going internally shortly! We'll be sure to update this as well :)
@calvinfo any update on 0.7 support?
Master is on v0.7, however i wouldn't use it yet, it's tested but i want to make sure we use lists and correct datatypes everywhere.
Once that's done, we'll release v0.2 which will fully support TF v0.7.
If anyone would like to stick with v0.6, just use the 0.1
tag, it's untouched.
@yields Ran into several problems when reverting to v0.6 and v0.1. Documented here: https://github.com/segmentio/stack/issues/8
Hi,
I tried to launch the cluster with terrafrom v0.7.0 and found the following
data "template_file" "policy" { template = "${file("${path.module}/policy.json")}"
vars = { bucket = "${var.name}-${var.environment}-logs" account_id = "${var.account_id}" } }
resource "aws_s3_bucket" "logs" { bucket = "${var.name}-${var.environment}-logs"
tags { Name = "${var.name}-${var.environment}-logs" Environment = "${var.environment}" }
policy = "${data.template_file.policy.rendered}" }
I changed that but it does not work
I then reverted the changes in ecs-cluster/main.tf and did a terraform apply and it worked since it was a warning.
After i include
module "rds" { source = "github.com/segmentio/stack/rds-cluster" # rds module source name = "pingdummy" database_name = "pingdummy" master_username = "root" master_password = "password"
these options are automatically generated by the stack
environment = "${module.stack.environment}" vpc_id = "${module.stack.vpc_id}" security_groups = "${module.stack.cluster_security_group_id}" subnet_ids = "${module.stack.private_subnets}" availability_zones = "${module.stack.availability_zones}" }
I get the following error Error configuring: 2 error(s) occurred:
What am i doing wrong?