You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to Reproduce
terraform init
subprocess.run(["terraformer", "import", "aws", "--resources", service, "--regions", region], capture_output=True, shell=True)
Additional Context
This is the python command I am using to run the terraformer command for ec2 instance
subprocess.run(["terraformer", "import", "aws", "--resources", service, "--regions", region], capture_output=True, shell=True)
And the error I am getting is
CompletedProcess(args=['terraformer', 'import', 'aws', '--resources', 'ec2', '--regions', 'us-east-1'], returncode=0, stdout=b'2024/05/01 13:54:48 aws importing region us-east-1\n2024/05/01 13:54:57 aws importing... ec2\n2024/05/01 13:54:57 aws error importing ec2, err: aws: ec2 not supported service\n2024/05/01 13:54:57 aws Connecting.... \n', stderr=b'')
I do not understand why it throwing an error : ec2 as a not supported service
The version of terraformer i am using is = Terraformer v0.8.24
Any help is greatly appreciated
Thank you in advance
The text was updated successfully, but these errors were encountered:
Terraform Version
Terraformer v0.8.24
Terraform Configuration Files
subprocess.run(["terraformer", "import", "aws", "--resources", service, "--regions", region], capture_output=True, shell=True)
Debug Output
CompletedProcess(args=['terraformer', 'import', 'aws', '--resources', 'ec2', '--regions', 'us-east-1'], returncode=0, stdout=b'2024/05/01 13:54:48 aws importing region us-east-1\n2024/05/01 13:54:57 aws importing... ec2\n2024/05/01 13:54:57 aws error importing ec2, err: aws: ec2 not supported service\n2024/05/01 13:54:57 aws Connecting.... \n', stderr=b'')
Expected Behavior
Should generate the terraform.tfstate file for ec2 instance
Actual Behavior
CompletedProcess(args=['terraformer', 'import', 'aws', '--resources', 'ec2', '--regions', 'us-east-1'], returncode=0, stdout=b'2024/05/01 13:54:48 aws importing region us-east-1\n2024/05/01 13:54:57 aws importing... ec2\n2024/05/01 13:54:57 aws error importing ec2, err: aws: ec2 not supported service\n2024/05/01 13:54:57 aws Connecting.... \n', stderr=b'')
Steps to Reproduce
terraform init
subprocess.run(["terraformer", "import", "aws", "--resources", service, "--regions", region], capture_output=True, shell=True)
Additional Context
This is the python command I am using to run the terraformer command for ec2 instance
subprocess.run(["terraformer", "import", "aws", "--resources", service, "--regions", region], capture_output=True, shell=True)
And the error I am getting is
CompletedProcess(args=['terraformer', 'import', 'aws', '--resources', 'ec2', '--regions', 'us-east-1'], returncode=0, stdout=b'2024/05/01 13:54:48 aws importing region us-east-1\n2024/05/01 13:54:57 aws importing... ec2\n2024/05/01 13:54:57 aws error importing ec2, err: aws: ec2 not supported service\n2024/05/01 13:54:57 aws Connecting.... \n', stderr=b'')
I do not understand why it throwing an error : ec2 as a not supported service
The version of terraformer i am using is = Terraformer v0.8.24
Any help is greatly appreciated
Thank you in advance
The text was updated successfully, but these errors were encountered: