How to pin Terraform provider version constraints to a single patch release #130
-
A customer asked:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
To pin to a specific "patch" version release using semantic versioning, you can use an equal sign in front of the exact version you want installed:
With this configuration, Terraform will attempt to fetch and install the exact version you have specified:
Note that if you have already installed a different version of the provider, you may receive an error about your provider version being locked:
If your receive this error, you can re-run your
Which will result in a successful provider version change:
|
Beta Was this translation helpful? Give feedback.
To pin to a specific "patch" version release using semantic versioning, you can use an equal sign in front of the exact version you want installed:
With this configuration, Terraform will attempt to fetch and install the exact version you have specified: