Created
June 6, 2019 10:36
-
-
Save lupupaulsv/d705e695be36e0ec6c21f1b9e9d70a3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module "elastic-beanstalk-environment" { | |
source = "cloudposse/elastic-beanstalk-environment/aws" | |
version = "0.13.0" | |
app = "plupu-test-app" | |
keypair = "tb-keypair" | |
namespace = "sv" | |
private_subnets = ["subnet-06e1a5638be1d2552","subnet-06b9c862326ca7295"] | |
public_subnets = ["subnet-0f9a9b905acc08827", "subnet-0ba9e721df1ab29fc"] | |
security_groups = ["sg-07f9582d82c4058e8, sg-0bf6bf06395fdf2c4"] | |
stage = "staging" | |
vpc_id = "vpc-0bfa15e53ec9a004a" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
he root module does not declare a variable named "service_name". To use this | |
value, add a "variable" block to the configuration. | |
Using a variables file to set an undeclared variable is deprecated and will | |
become an error in a future release. If you wish to provide certain "global" | |
settings to all configurations in your organization, use TF_VAR_... | |
environment variables to set these instead. | |
Error: Incorrect attribute value type | |
on .terraform/modules/elastic-beanstalk-environment/cloudposse-terraform-aws-elastic-beanstalk-environment-01d4052/main.tf line 318, in resource "aws_security_group" "default": | |
318: security_groups = ["${var.security_groups}"] | |
Inappropriate value for attribute "security_groups": element 0: string | |
required. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment