Open wooyoungAhn opened 2 months ago
The "local" does not list here. Would you please provide the completed resource file?
Hi Thanks you for your reply here's
ap-northeast-2
locals {
cluster_name = "${var.prefix}-eks"
region = "ap-northeast-2"
azs = slice(data.aws_availability_zones.available.names, 0, 4)
tags = {
GithubRepo = "github.com/netapp"
creator = var.creator
tools = "terraform"
}
connector_client_id = var.aws_connector_deploy_bool ? netapp-cloudmanager_connector_aws.aws-connector-terraform[0].client_id : var.aws_connector_client_id
#connector_client_id = var.aws_connector_deploy_bool && var.aws_sn_create ? netapp-cloudmanager_connector_aws.aws-connector-terraform[0].client_id : var.aws_connector_client_id
key_name = var.use_tf_key_bool? aws_key_pair.TF_Key.key_name : var.aws_connector_key_name
}
Can you provide the terraform log with debugging turning on? Run terraform command with this prefix: TF_LOG="DEBUG" terraform import...
Hello Import fail of netapp-cloudmanager_connector_aws. The region value is specified, but I got the bellow error message. command :
error
vserion
Terraform code used for connector creation