But terraform apply initially returned me the following error:
╷
│ Warning: Argument is deprecated
│
│ with module.metaflow-datastore.aws_s3_bucket.this,
│ on .terraform/modules/metaflow-datastore/modules/datastore/s3.tf line 3, in resource "aws_s3_bucket" "this":
│ 3: acl = "private"
│
│ Use the aws_s3_bucket_acl resource instead
╵
╷
│ Error: Unsupported argument
│
│ on .terraform/modules/metaflow-datastore/modules/datastore/rds.tf line 109, in resource "aws_db_instance" "this":
│ 109: name = var.db_name # unique id for CLI commands (name of DB table which is why we're not adding the prefix as no conflicts will occur and the API expects this table name)
│
│ An argument named "name" is not expected here.
I manually commented this argument, but afterwards I still have a lot of errors:
╷
│ Warning: Argument is deprecated
│
│ with module.metaflow-datastore.aws_s3_bucket.this,
│ on .terraform/modules/metaflow-datastore/modules/datastore/s3.tf line 3, in resource "aws_s3_bucket" "this":
│ 3: acl = "private"
│
│ Use the aws_s3_bucket_acl resource instead
╵
╷
│ Error: Invalid provider configuration
│
│ Provider "registry.terraform.io/hashicorp/aws" requires explicit configuration. Add a provider block to the root module and configure the provider's required arguments as described in the provider
│ documentation.
│
╵
╷
│ Error: validating provider credentials: retrieving caller identity from STS: operation error STS: GetCallerIdentity, https response error StatusCode: 403, RequestID: af356c1f-c5e6-4565-abf2-a2d0bbfef591, api error InvalidClientTokenId: The security token included in the request is invalid.
│
│ with provider["registry.terraform.io/hashicorp/aws"],
│ on <empty> line 0:
│ (source code not available)
│
Could you help me to resolve it? Or maybe explain how to get rid of these issues?
Thank you in advance!
Hello! I try to launch
terraform apply
afterterraform init
(I'm following this guide: https://outerbounds.com/engineering/deployment/aws-k8s/deployment/#initialize-your-terraform-workspace). I'm using latest version of this repo.But
terraform apply
initially returned me the following error:I manually commented this argument, but afterwards I still have a lot of errors:
Could you help me to resolve it? Or maybe explain how to get rid of these issues? Thank you in advance!