diff --git a/crates/generator/src/pkg/terraform.rs b/crates/generator/src/pkg/terraform.rs index 8172850..730a86a 100644 --- a/crates/generator/src/pkg/terraform.rs +++ b/crates/generator/src/pkg/terraform.rs @@ -49,6 +49,19 @@ pub fn release() -> Package { tag_version_regex_template: None, scan_dirs: None, }), + PackageTargetType::MacOSArm64(PackageManagement { + artifact_templates: vec![ + "https://releases.hashicorp.com/terraform/{version}/terraform_{version}_darwin_arm64.zip" + .to_string(), + ], + executable_templates: None, + executable_mappings: None, + install_commands: None, + uninstall_commands: None, + upgrade_commands: None, + tag_version_regex_template: None, + scan_dirs: None, + }), PackageTargetType::Windows(PackageManagement { artifact_templates: vec![ "https://releases.hashicorp.com/terraform/{version}/terraform_{version}_windows_amd64.zip" diff --git a/generated/packages/terraform.yaml b/generated/packages/terraform.yaml index dcaf6c0..a7ae0f3 100644 --- a/generated/packages/terraform.yaml +++ b/generated/packages/terraform.yaml @@ -15,6 +15,9 @@ targets: - MacOS: artifact_templates: - https://releases.hashicorp.com/terraform/{version}/terraform_{version}_darwin_amd64.zip +- MacOSArm64: + artifact_templates: + - https://releases.hashicorp.com/terraform/{version}/terraform_{version}_darwin_arm64.zip - Windows: artifact_templates: - https://releases.hashicorp.com/terraform/{version}/terraform_{version}_windows_amd64.zip