Hello,
I'm trying to use BCD 3.3.0 to create a bonita stack on aws,
I run the following command
bcd -y -s scenarios/euwest1_performance.yml stack create deploy
The scenario is configured in this way (first lines):
bcd_provider: aws
bcd_stack_id: test_uswest2_enrico
configuration: aws_vars
I get the following error.
What I'm doing wrong?
Thanks!
Initializing provider plugins...
- Checking for available provider plugins...
STDERR:
Provider "aws" v1.60.0 is not compatible with Terraform 0.12.28.Provider version 2.7.0 is the earliest compatible version. Select it with
the following version constraint:version = "~> 2.7"
Terraform checked all of the plugin versions matching the given constraint:
~> 1.11Consult the documentation for this provider for more information on
compatibility between provider and Terraform versions.
Warning: Skipping backend initialization pending configuration upgradeThe root module configuration contains errors that may be fixed by running the
configuration upgrade tool, so Terraform is skipping backend initialization.
See below for more information.
Warning: Interpolation-only expressions are deprecatedon main.tf line 3, in provider "aws":
3: region = "${var.region}"Terraform 0.11 and earlier required all non-constant expressions to be
provided via interpolation syntax, but this pattern is now deprecated. To
silence this warning, remove the "${ sequence from the start and the }"
sequence from the end of this expression, leaving just the inner expression.Template interpolation syntax is still used to construct strings from
expressions when the template includes multiple interpolation sequences or a
mixture of literal strings and interpolations. This deprecation applies only
to templates that consist entirely of a single interpolation sequence.(and 22 more similar warnings elsewhere)
Error: incompatible provider version
Error: Invalid argument name
on main.tf line 30, in resource "aws_instance" "database":
30: "bcd:type" = "database"Argument names must not be quoted.
MSG:
non-zero return code
[10:29:35.241] PLAY RECAP ****************************************************************************************************
localhost : ok=6 changed=1 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0[10:29:35.303] ERROR: Aborting! Command <stack-create> returned non-zero exit code <2>