-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eaed7a8
commit c0c6d96
Showing
4 changed files
with
81 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: BUSL-1.1 | ||
|
||
terraform { | ||
required_providers { | ||
enos = { | ||
source = "registry.terraform.io/hashicorp-forge/enos" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,61 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: BUSL-1.1 | ||
# SPDX-License-Identifier: BUSL-1.1 | ||
|
||
# Variables for the fetch_artifactory module | ||
variable "artifactory_username" { | ||
type = string | ||
description = "The username to use when connecting to artifactory" | ||
default = null | ||
} | ||
|
||
variable "artifactory_token" { | ||
type = string | ||
description = "The token to use when connecting to artifactory" | ||
default = null | ||
sensitive = true | ||
} | ||
|
||
variable "artifactory_host" { | ||
type = string | ||
description = "The artifactory host to search for Nomad artifacts" | ||
default = "https://artifactory.hashicorp.engineering/artifactory" | ||
} | ||
|
||
variable "artifactory_repo" { | ||
type = string | ||
description = "The artifactory repo to search for Nomad artifacts" | ||
default = "hashicorp-crt-stable-local*" | ||
} | ||
|
||
variable "edition" { | ||
type = string | ||
description = "The edition of the binary to search, it can be either CE or ENT" | ||
} | ||
|
||
variable "revision" { | ||
type = string | ||
description = "The specific commit of the binary" | ||
} | ||
|
||
variable "os" { | ||
type = string | ||
description = "The operative system the binary is needed for" | ||
default = "linux" | ||
} | ||
|
||
variable "product_version" { | ||
description = "The version of Nomad we are testing" | ||
type = string | ||
default = null | ||
} | ||
|
||
variable "arch" { | ||
description = "The artifactory path to search for Nomad artifacts" | ||
type = string | ||
} | ||
|
||
variable "binary_path" { | ||
description = "The path to donwload and unzip the binary" | ||
type = string | ||
default = "/home/ubuntu/nomad" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters