cf2tf
cf2tf copied to clipboard
Convert Cloudformation templates to Terraform.
**Template**: https://aws-ia-us-east-1.s3.us-east-1.amazonaws.com/cfn-ps-darktrace-vsensor/templates/darktrace-vsensor-workload.template.yaml **Environment**: Python 3.11.5 pip 23.3.1 from /home/user/venv_3.11/lib64/python3.11/site-packages/pip (python 3.11) cf2tf 0.6.2 **Error**: // Converting darktrace-vsensor-workload.template.yaml to Terraform! Traceback (most recent call last): File "/home/localadmin/venv_3.11/bin/cf2tf", line 8, in sys.exit(cli())...
Expected Behaviour: When using SSM Parameter types in CloudFormation variables, `data` resources are properly created : ``` VPC: Description: The VPC Id Type: "AWS::SSM::Parameter::Value" Default: vpc-id Subnets: Description: The Public...
Would you mind getting this into Conda forge? (I like to complicate things ;) See https://levelup.gitconnected.com/publishing-your-python-package-on-conda-and-conda-forge-309a405740cf When I try the command now I'm seeing: ``` Collecting package metadata (current_repodata.json): done...
**Expected Behaviour:** AWS::EC2::VPCGatewayAttachment with InternetGatewayId Parameter should be converted into a aws_internet_gateway_attachment **Actual Behaviour:** ``` InternetGatewayVpcAttachment: Type: AWS::EC2::VPCGatewayAttachment Properties: InternetGatewayId: !Ref InternetGateway VpcId: !Ref VPC ``` gets converted to: ```...
Hi! There!, I got my template from this site and just change the extension to yaml. https://docs.aws.amazon.com/solutions/latest/live-streaming-on-aws/aws-cloudformation-template.html Download: https://s3.amazonaws.com/solutions-reference/live-streaming-on-aws/latest/live-streaming-on-aws.template Thanks! :) DEPLOY ------- > cf2tf -v DEBUG live-streaming-on-aws.yaml // Converting...
There are a lot of issues in how we resolve values. Mainly being how tricky it is to know if we are inside an intrinsic function or a condition. It...
Hello, First of all thank you for this amazing tool. it is time and efforts saver. In the below CloudFormation stack, the tool is unable to convert the User data...
Terraform resources sometimes have attributes like `replica.*.arn`. I'm not sure if we will need to support this or not.
It's possible that a Cloudformation resource will get converted to the wrong terraform resource. Perhaps its because the resource is custom #186 . Maybe its just a bad match. We...