Skip to content

Commit

Permalink
Arm64 (#100)
Browse files Browse the repository at this point in the history
* Test support for arm64

* Typo

* Set correct arch
  • Loading branch information
ChrisRamsayITV committed Sep 1, 2022
1 parent 218c670 commit 8579d44
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 12.4.0
FEATURE:
- Add support for darwin arm64 providers

# 12.3.0
FEATURE:
- add optional `--json` arg to use `-json` in plan/apply
Expand Down
2 changes: 2 additions & 0 deletions lib/dome/terraform.rb
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ def install_provider(provider)

if RUBY_PLATFORM =~ /linux/
arch = 'linux_amd64'
elsif RUBY_PLATFORM =~ /arm64-darwin/
arch = 'darwin_arm64'
elsif RUBY_PLATFORM =~ /darwin/
arch = 'darwin_amd64'
else
Expand Down
2 changes: 1 addition & 1 deletion lib/dome/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Dome
VERSION = '12.3.0'
VERSION = '12.4.0'
end

0 comments on commit 8579d44

Please sign in to comment.