尝试将我的状态文件存储在 s3 存储桶中,但在尝试“Terraform init”时出现此错误:
error configuring S3 Backend: error validating provider credentials:
error calling sts:GetCallerIdentity:
InvalidClientTokenId: The security token included in the request is invalid.
Run Code Online (Sandbox Code Playgroud)
主要.tf:
provider "aws" {
region = var.region
access_key = var.acc_key
secret_key = var.sec_key
}
terraform {
backend "s3" {
bucket = "mybucket-terra-prac"
key = "terraform.tfstate"
region = "eu-central-1"
}
}
resource "aws_instance" "web" {
ami = var.ami
instance_type = "t2.large"
associate_public_ip_address=true
key_name = var.public_key
tags = {
Name = var.ec2_name …Run Code Online (Sandbox Code Playgroud) amazon-s3 amazon-web-services terraform terraform-provider-aws
使用 DMS 时遇到一些问题 - 任务选择规则配置错误(我猜)
在创建的源端点和目标端点之间测试 2 个小型 rds postgres 实例,创建复制实例
(测试连接成功)
The task i run keeps failing :
" Last Error No tables were found at task initialization.
Either the selected table(s) or schemas(s) no longer exist or no match was found for the table selection pattern(s)."
Run Code Online (Sandbox Code Playgroud)
模式:pg_catalog、information_schema、public
我只想复制一个名为 test_db 的数据库
我应该在选择规则中使用什么?
postgresql data-migration amazon-web-services amazon-rds aws-dms