Created
July 21, 2020 00:53
-
-
Save mshenoy83/17d7773e2b5f1c2cf94b7989e2410989 to your computer and use it in GitHub Desktop.
Terraform Error
This file contains hidden or 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
There are some problems with the configuration, described below. | |
The Terraform configuration must be valid before initialization so that | |
Terraform can determine which modules and providers need to be installed. | |
Error: Invalid expression | |
on main.tf line 3, in resource "aws_cloudformation_stack" "eventbridge_bus": | |
3: template_body = <<EOF | |
Expected the start of an expression, but found an invalid expression token. | |
Error: Argument or block definition required | |
on main.tf line 4, in resource "aws_cloudformation_stack" "eventbridge_bus": | |
4: Resources: | |
An argument or block definition is required here. To set an argument, use the | |
equals sign "=" to introduce the argument value. | |
Error: Argument or block definition required | |
on main.tf line 5, in resource "aws_cloudformation_stack" "eventbridge_bus": | |
5: EventBus: | |
An argument or block definition is required here. To set an argument, use the | |
equals sign "=" to introduce the argument value. | |
Error: Argument or block definition required | |
on main.tf line 6, in resource "aws_cloudformation_stack" "eventbridge_bus": | |
6: Type: AWS::Events::EventBus | |
An argument or block definition is required here. To set an argument, use the | |
equals sign "=" to introduce the argument value. | |
Error: Argument or block definition required | |
on main.tf line 7, in resource "aws_cloudformation_stack" "eventbridge_bus": | |
7: Properties: | |
An argument or block definition is required here. To set an argument, use the | |
equals sign "=" to introduce the argument value. | |
Error: Argument or block definition required | |
on main.tf line 8, in resource "aws_cloudformation_stack" "eventbridge_bus": | |
8: Name: bus-name | |
An argument or block definition is required here. To set an argument, use the | |
equals sign "=" to introduce the argument value. | |
Error: Argument or block definition required | |
on main.tf line 9, in resource "aws_cloudformation_stack" "eventbridge_bus": | |
9: EOF | |
An argument or block definition is required here. To set an argument, use the | |
equals sign "=" to introduce the argument value. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment