事前設定importを試す全リソースをimportするterraformingの課題解決できる?はじめにクラスメソッドさんが以下の記事を書いていたdev.classmethod.jpAWS環境管理の為に、同じようなterraformingというツール使ってるので、比較のため早速試してみる。Found%取れてない。4#downloadのtagがちゃんと取れてない。./generated/aws/s3/ap-northeast-1/outputs.tf./generated/aws/s3/ap-northeast-1/terraform.tfstate./generated/aws/s3/ap-northeast-1/provider.tf./generated/aws/s3/ap-northeast-1/s3_bucket.tf./generated/aws/igw/ap-northeast-1/outputs.tf./generated/aws/igw/ap-northeast-1/terraform.tfstate./generated/aws/igw/ap-northeast-1/variables.tf./generated/aws/igw/ap-northeast-1/provider.tf./generated/aws/igw/ap-northeast-1/internet_gateway.tf./generated/aws/vpn_gateway/ap-northeast-1/terraform.tfstate./generated/aws/vpn_gateway/ap-northeast-1/variables.tf./generated/aws/vpn_gateway/ap-northeast-1/provider.tf./generated/aws/cloudfront/ap-northeast-1/terraform.tfstate./generated/aws/cloudfront/ap-northeast-1/provider.tf./generated/aws/alb/ap-northeast-1/outputs.tf./generated/aws/alb/ap-northeast-1/terraform.tfstate./generated/aws/alb/ap-northeast-1/lb.tf./generated/aws/alb/ap-northeast-1/lb_target_group.tf./generated/aws/alb/ap-northeast-1/lb_listener.tf./generated/aws/alb/ap-northeast-1/lb_target_group_attachment.tf./generated/aws/alb/ap-northeast-1/variables.tf./generated/aws/alb/ap-northeast-1/provider.tf./generated/aws/alb/ap-northeast-1/lb_listener_rule.tf./generated/aws/auto_scaling/ap-northeast-1/outputs.tf./generated/aws/auto_scaling/ap-northeast-1/terraform.tfstate./generated/aws/auto_scaling/ap-northeast-1/autoscaling_group.tf./generated/aws/auto_scaling/ap-northeast-1/variables.tf./generated/aws/auto_scaling/ap-northeast-1/provider.tf./generated/aws/auto_scaling/ap-northeast-1/launch_configuration.tf./generated/aws/elb/ap-northeast-1/terraform.tfstate./generated/aws/elb/ap-northeast-1/variables.tf./generated/aws/elb/ap-northeast-1/provider.tf./generated/aws/iam/ap-northeast-1/outputs.tf./generated/aws/iam/ap-northeast-1/terraform.tfstate./generated/aws/iam/ap-northeast-1/iam_role_policy.tf./generated/aws/iam/ap-northeast-1/iam_policy.tf./generated/aws/iam/ap-northeast-1/iam_user_policy.tf./generated/aws/iam/ap-northeast-1/iam_user.tf./generated/aws/iam/ap-northeast-1/provider.tf./generated/aws/iam/ap-northeast-1/iam_policy_attachment.tf./generated/aws/sg/ap-northeast-1/outputs.tf./generated/aws/sg/ap-northeast-1/terraform.tfstate./generated/aws/sg/ap-northeast-1/security_group.tf./generated/aws/sg/ap-northeast-1/provider.tf./generated/aws/nacl/ap-northeast-1/network_acl.tf./generated/aws/nacl/ap-northeast-1/outputs.tf./generated/aws/nacl/ap-northeast-1/terraform.tfstate./generated/aws/nacl/ap-northeast-1/variables.tf./generated/aws/nacl/ap-northeast-1/provider.tf./generated/aws/ec2_instance/ap-northeast-1/outputs.tf./generated/aws/ec2_instance/ap-northeast-1/terraform.tfstate./generated/aws/ec2_instance/ap-northeast-1/provider.tf./generated/aws/ec2_instance/ap-northeast-1/instance.tf./generated/aws/vpc/ap-northeast-1/outputs.tf./generated/aws/vpc/ap-northeast-1/terraform.tfstate./generated/aws/vpc/ap-northeast-1/provider.tf./generated/aws/vpc/ap-northeast-1/vpc.tf./generated/aws/vpn_connection/ap-northeast-1/terraform.tfstate./generated/aws/vpn_connection/ap-northeast-1/variables.tf./generated/aws/vpn_connection/ap-northeast-1/provider.tf./generated/aws/elasticache/ap-northeast-1/terraform.tfstate./generated/aws/elasticache/ap-northeast-1/variables.tf./generated/aws/elasticache/ap-northeast-1/provider.tf./generated/aws/subnet/ap-northeast-1/outputs.tf./generated/aws/subnet/ap-northeast-1/terraform.tfstate./generated/aws/subnet/ap-northeast-1/variables.tf./generated/aws/subnet/ap-northeast-1/provider.tf./generated/aws/subnet/ap-northeast-1/subnet.tf./generated/aws/rds/ap-northeast-1/outputs.tf./generated/aws/rds/ap-northeast-1/terraform.tfstate./generated/aws/rds/ap-northeast-1/variables.tf./generated/aws/rds/ap-northeast-1/provider.tf./generated/aws/rds/ap-northeast-1/db_parameter_group.tf./generated/aws/rds/ap-northeast-1/db_instance.tf./generated/aws/rds/ap-northeast-1/db_subnet_group.tf./generated/aws/acm/ap-northeast-1/outputs.tf./generated/aws/acm/ap-northeast-1/terraform.tfstate./generated/aws/acm/ap-northeast-1/acm_certificate.tf./generated/aws/acm/ap-northeast-1/provider.tf./generated/aws/route53/ap-northeast-1/outputs.tf./generated/aws/route53/ap-northeast-1/terraform.tfstate./generated/aws/route53/ap-northeast-1/route53_zone.tf./generated/aws/route53/ap-northeast-1/route53_record.tf./generated/aws/route53/ap-northeast-1/provider.tfterraformingの課題解決できる?terraformingでtfファイルを生成すると、aws_network_interfaceの表示順が変わるので、リソースの変更をしていなくてもファイルとしての差分が毎回でる。./*#そもそもaws_network_interfaceリソースは生成されてなかった。(3)はてなブログをはじめよう!dehio3さんは、はてなブログを使っています。ブログを報告するスターをつけました引用をストックしましたストック一覧を見る閉じる引用するにはまずログインしてくださいログイン閉じる引用をストックできませんでした。再度お試しください閉じる限定公開記事のため引用できません。