rubrikinc / terraform-provider-polaris

Terraform provider for the Polaris platform
MIT License
2 stars 9 forks source link

Terraform Plan not showing complete details of what is being created on cloud. #48

Closed kaly2305 closed 9 months ago

kaly2305 commented 2 years ago

When we manually add account , Polaris will generate cloud formation template and in that template we can see what resources getting created on the cloud. In similar way, why terraform plan is not showing these details.

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like Terraform plan should describe all the details like what is being onboarded or created on cloud. A clear and concise description of what you want to happen.

Describe alternatives you've considered Execution of CloudFormation template manually instead of using TF for automation. A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

johan3141592 commented 1 year ago

Hi @kaly2305, the CloudFormation template is not created by Terraform and can therefore not be displayed as a diff. The TF provider gets the CloudFormation template from Polaris/RSC as a step in the process of adding the AWS account, this happens when the terraform apply is already running, i.e. after the user has accepted the changes to be applied.

johan3141592 commented 9 months ago

It's now possible to add an AWS account to RSC without using a CloudFormation template, giving the user more control of what is being created. A guide can be found here.