rubrikinc / terraform-provider-polaris

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

Provider does not detect when AWS accounts need permission updates #124

Open DamaniN opened 4 months ago

DamaniN commented 4 months ago

Expected Behavior

Periodically RSC will add new features which require permission updates to the cross account role. RSC notifies the administrator of this via the UI. When a new plan is run via Terraform, it should detect that the required permissions for the cross account role are different than the current set. It should then update those current permissions to the new set and update RSC that the permissions are now current.

Current Behavior

Currently this Terraform provider does not detect when permissions have been changed for a snappable and suggest an update.

Steps to Reproduce

This was tested against EC2 protection. Add an account using an older version of the permissions. Then run Terraform plan once the notification that the permissions need to be updated. Terraform will indicate that no changes are needed.

Context

Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.