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
{{ message }}
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.
When defining anec2_vpc resource and not specifying the region parameter the module throws strange error messages like "Could not set 'present' on ensure: type mismatch: String given".
The problem can be reproduced with a manifest like the following:
I had AWS_REGIONdefined in my environment and would have assumed that the module uses that instead of specifying it in each resource, but apparently it isn't as the debug output tells:
Info: Creating VPC foo in absent
Setting a region in the resource is a viable workaround, but if the region argument is required the error handling should be adjusted to actually say so.
This happened with version 2.0.0 of the module and puppet 4.10.8.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When defining an
ec2_vpc
resource and not specifying the region parameter the module throws strange error messages like "Could not set 'present' on ensure: type mismatch: String given".The problem can be reproduced with a manifest like the following:
I had
AWS_REGION
defined in my environment and would have assumed that the module uses that instead of specifying it in each resource, but apparently it isn't as the debug output tells:Setting a region in the resource is a viable workaround, but if the region argument is required the error handling should be adjusted to actually say so.
This happened with version 2.0.0 of the module and puppet 4.10.8.
The text was updated successfully, but these errors were encountered: