forked from trussworks/homebrew-tap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup-new-aws-user.rb
39 lines (33 loc) · 1.21 KB
/
setup-new-aws-user.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# typed: false
# frozen_string_literal: true
# This file was generated by GoReleaser. DO NOT EDIT.
class SetupNewAwsUser < Formula
desc "A tool that creates a virtual MFA device and rotates access keys for a new AWS user."
homepage "https://github.com/trussworks/setup-new-aws-user"
version "0.6.0"
on_macos do
url "https://github.com/trussworks/setup-new-aws-user/releases/download/v0.6.0/setup-new-aws-user_Darwin_x86_64.tar.gz"
sha256 "1e46cdbb02cf7918a3ef6dd6e9cda8de52039451180b4639466085979714c20b"
def install
bin.install "setup-new-aws-user"
end
if Hardware::CPU.arm?
def caveats
<<~EOS
The darwin_arm64 architecture is not supported for the SetupNewAwsUser
formula at this time. The darwin_amd64 binary may work in compatibility
mode, but it might not be fully supported.
EOS
end
end
end
on_linux do
if Hardware::CPU.intel?
url "https://github.com/trussworks/setup-new-aws-user/releases/download/v0.6.0/setup-new-aws-user_Linux_x86_64.tar.gz"
sha256 "d5f417523f35835aa6faf7977db78f86df31e903b0f46a5b627a07f55aa042b8"
def install
bin.install "setup-new-aws-user"
end
end
end
end