Skip to content

Commit

Permalink
RD-1120 Fix issue with installing terraform providers (#47)
Browse files Browse the repository at this point in the history
* RD-1120 Fix issue with installing terraform providers

* __NODOCS__
  • Loading branch information
mabuaisha authored Feb 18, 2021
1 parent 4344b7e commit 91403ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
0.15.2:
- Fix permission denied issue with installing terraform plugins.
0.15.1:
- Added '-input=false' to avoid indefinite hang in case of missing variables.
0.14.4:
Expand Down
2 changes: 1 addition & 1 deletion cloudify_tf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def handle_plugins(plugins, plugins_dir, installation_dir):
url=plugin_url))
download_file(plugin_zip.name, plugin_url)
unzip_path = os.path.join(plugins_dir, plugin_name)
mkdir_p(os.path.basename(unzip_path))
mkdir_p(os.path.dirname(unzip_path))
unzip_and_set_permissions(plugin_zip.name, unzip_path)
os.remove(plugin_zip.name)

Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins:
tf:
executor: central_deployment_agent
package_name: cloudify-terraform-plugin
package_version: '0.15.1'
package_version: '0.15.2'

dsl_definitions:

Expand Down

0 comments on commit 91403ca

Please sign in to comment.