我使用模块https://github.com/cloudposse/terraform-aws-elasticsearch来配置ElasticSearch。我设置了kibana_hostname_enabled = false和domain_hostname_enabled = false。对于每个文档,dns_zone_id都不是必需的。但是,当我运行terraform plan时,它会要求输入dns区域id。 terraform plan
var.dns_zone_id
Route53 DNS Zone ID to add hostname records for Elastics
我正在尝试使用terraform添加简单的A记录,但遇到了“访问被拒绝错误:
* aws_route53_record.dns_name: AccessDenied: User: arn:aws:iam::<#>:user/<username> is not authorized to access this resource
status code: 403, request id: <hash>
基于此链接,我不应该在我的文件中定义"provider aws“。我没有使用provider,她是我的代码:
resource "
我试图通过Terraform部署一个NextJS应用程序,但是我似乎无法让Route53区域工作。我已经通过Route53注册了域,并且已经使用该域设置了一个托管区域。当使用CLI命令aws route53 list-hosted-zones时,我可以成功地看到那里的托管区域。然而,每当试图运行terraform plan时,都会遇到以下问题:
Error: no matching Route53Zone found
on .terraform/modules/aws_static_site/main.tf line 1, in data "aws_route53_zone
当在Atlas上运行terraform apply并且在AWS路由53上失败时,我会遇到以下错误:
Apply execution has failed
The apply encountered an errored while executing 10 minutes ago. State information was persisted and subsequent applies will continue making changes in a safe way.
Terraform v0.6.11
Setting up remote state...
Downloading r
详细信息如下,但在较高级别上,我在AWS GovCloud中构建资源没有任何问题,特别是在us-gov-wast-1区域。当我决定为私有aws_route53_zone添加资源时,我得到以下错误: * aws_route53_zone.private: error creating Route53 Hosted Zone: InvalidClientTokenId: The security token included in the request is invalid. status code: 403, request id: a9124a21-8eba-11e9-8bbb-c59c8