This repository has been archived by the owner on Jul 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 422
Stack and Terraform v0.7.0 #39
Comments
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 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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?
The text was updated successfully, but these errors were encountered: