Mirantis / launchpad

Other
27 stars 45 forks source link

AWS terraform example seems oudated and shed some errors #86

Open manuelbcd opened 1 year ago

manuelbcd commented 1 year ago

Trying the aws onboarding example from scratch I see 2 errors and 1 warning. I have noticed that the last commit was from 2021, maybe a review and update of the script is required. FYI @Ben Dorman

➜  aws git:(master) terraform apply
╷
│ Warning: Argument is deprecated
│ 
│   with provider["registry.terraform.io/hashicorp/aws"],
│   on main.tf line 3, in provider "aws":
│    3:   shared_credentials_file = var.aws_shared_credentials_file
│ 
│ Use shared_credentials_files instead.
│ 
│ (and one more similar warning elsewhere)
╵
╷
│ Warning: Attribute Deprecated
│ 
│   with provider["registry.terraform.io/hashicorp/aws"],
│   on main.tf line 3, in provider "aws":
│    3:   shared_credentials_file = var.aws_shared_credentials_file
│ 
│ Use shared_credentials_files instead.
│ 
│ (and one more similar warning elsewhere)
╵
╷
│ Error: error configuring Terraform AWS Provider: failed to get shared config profile, kaas
│ 
│   with provider["registry.terraform.io/hashicorp/aws"],
│   on main.tf line 1, in provider "aws":
│    1: provider "aws" {
│