Skip to content

Commit

Permalink
Introduce community gallery (#23)
Browse files Browse the repository at this point in the history
Signed-off-by: peterdeme <[email protected]>
  • Loading branch information
peterdeme authored Sep 23, 2024
1 parent b83b8a1 commit 0387e93
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .spacelift/config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
version: 1
module_version: 0.1.0
module_version: 1.0.0

tests:
- name: System-assigned identity
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ Terraform module for deploying a Spacelift worker pool on Azure using a VMSS.

## Usage

NOTE: please make sure you [accept the terms](#accepting-terms) for our Azure Marketplace
image before trying to use the module.

```hcl
terraform {
required_providers {
Expand All @@ -18,7 +15,7 @@ terraform {
}
module "azure-worker" {
source = "github.com/spacelift-io/terraform-azure-spacelift-workerpool?ref=v0.1.0"
source = "github.com/spacelift-io/terraform-azure-spacelift-workerpool?ref=v1.0.0"
admin_password = "Super Secret Password!"
Expand Down
10 changes: 5 additions & 5 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,31 +67,31 @@ variable "resource_group" {
variable "source_image_id" {
type = string
description = "The VM image to use. Either source_image_id, or a combination of source_image_publisher, source_image_offer, source_image_sku, and source_image_version must be specified."
default = null
default = "/communityGalleries/spacelift-40913cda-9bf9-4bcb-bf90-78fd83f30079/images/spacelift_worker_image/versions/latest"
}

variable "source_image_publisher" {
type = string
description = "The image publisher to use. Either source_image_id, or a combination of source_image_publisher, source_image_offer, source_image_sku, and source_image_version must be specified."
default = "spaceliftinc1625499025476"
default = null
}

variable "source_image_offer" {
type = string
description = "The image offer to use. Either source_image_id, or a combination of source_image_publisher, source_image_offer, source_image_sku, and source_image_version must be specified."
default = "spacelift_worker"
default = null
}

variable "source_image_sku" {
type = string
description = "The image SKU to use. Either source_image_id, or a combination of source_image_publisher, source_image_offer, source_image_sku, and source_image_version must be specified."
default = "ubuntu_20_04"
default = null
}

variable "source_image_version" {
type = string
description = "The image version to use. Either source_image_id, or a combination of source_image_publisher, source_image_offer, source_image_sku, and source_image_version must be specified."
default = "latest"
default = null
}

variable "subnet_id" {
Expand Down

0 comments on commit 0387e93

Please sign in to comment.