puppetlabs / puppetlabs-pecdm

Puppet Bolt driven fusion of puppetlabs/peadm and Terraform.
Apache License 2.0
14 stars 18 forks source link

console_password is set to string, when the paramter only accepts sensitive string #104

Closed MartyEwings closed 1 year ago

MartyEwings commented 1 year ago

Describe the Bug

console_password accepts a string input

https://github.com/puppetlabs/puppetlabs-pecdm/blob/d45cd4895339f8a68fb31c47130d63586a55a224/plans/provision.pp#L126

however later on the parameter is combined with the unwrap function and causes errors

Expected Behavior

parameter should be flagged as sensitive string