Skip to content

Commit f541f91

Browse files
Yash Jammiclaude
authored andcommitted
release-v1.0.40
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent d9b9617 commit f541f91

33 files changed

Lines changed: 1745 additions & 269 deletions

‎.github/workflows/gotest-cloud-eu.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ jobs:
7575
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7676

7777
# Set up Go
78-
- name: Setup Go 1.26.4
78+
- name: Setup Go
7979
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
8080
with:
81-
# Semantic version range syntax or exact version of Go
82-
go-version: '1.26.4'
81+
# Track the Go version declared in go.mod
82+
go-version-file: 'go.mod'
8383

8484
# Install dependencies
8585
- name: Install dependencies

‎.github/workflows/gotest-cloud.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ jobs:
7575
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7676

7777
# Set up Go
78-
- name: Setup Go 1.26.4
78+
- name: Setup Go
7979
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
8080
with:
81-
# Semantic version range syntax or exact version of Go
82-
go-version: '1.26.4'
81+
# Track the Go version declared in go.mod
82+
go-version-file: 'go.mod'
8383

8484
# Install dependencies
8585
- name: Install dependencies

‎.github/workflows/gotest-onprem.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@ jobs:
7272
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7373

7474
# Set up Go
75-
- name: Setup Go 1.26.4
75+
- name: Setup Go
7676
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
7777
with:
78-
# Semantic version range syntax or exact version of Go
79-
go-version: '1.26.4'
78+
# Track the Go version declared in go.mod
79+
go-version-file: 'go.mod'
8080

8181
# Install dependencies
8282
- name: Install dependencies

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
goreleaser:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2121
with:
2222
# Allow goreleaser to access older tag information.
2323
fetch-depth: 0
24-
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
24+
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
2525
with:
2626
go-version-file: 'go.mod'
2727
cache: true
@@ -32,7 +32,7 @@ jobs:
3232
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
3333
passphrase: ${{ secrets.PASSPHRASE }}
3434
- name: Run GoReleaser
35-
uses: goreleaser/goreleaser-action@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7.0.0
35+
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3
3636
with:
3737
args: release --clean
3838
env:

‎docs/data-sources/tag.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ data "citrix_tag" "example_tag_by_id" {
4040
- `associated_machine_catalog_count` (Number) Number of machine catalogs associated with the tag.
4141
- `associated_machine_count` (Number) Number of machines associated with the tag.
4242
- `description` (String) Description of the tag.
43-
- `scopes` (Set of String)
43+
- `scopes` (Set of String) The set of IDs of the admin scopes applied on the tag.

‎docs/resources/machine_catalog.md‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,15 @@ resource "citrix_machine_catalog" "example-amazon-workspaces-core-mtsession" {
339339
}
340340
master_image_note = "Example Image Note"
341341
tenancy_type = "Shared"
342+
billing_mode = "hourly"
343+
writeback_cache = {
344+
writeback_cache_disk_size_gb = 16
345+
writeback_cache_memory_size_mb = 512
346+
wbc_disk_storage_type = "gp3"
347+
persist_os_disk = true
348+
persist_wbc = true
349+
writeback_cache_drive_letter = "E"
350+
}
342351
}
343352
number_of_total_machines = 1
344353
machine_account_creation_rules ={
@@ -904,9 +913,11 @@ Required:
904913

905914
Optional:
906915

916+
- `billing_mode` (String) The billing mode for the Amazon WorkSpaces Core managed instances. Choose between `hourly` and `monthly`. Defaults to `hourly`.
907917
- `image_update_reboot_options` (Attributes) The options for how rebooting is performed for image update. When omitted, image update on the VDAs will be performed on next shutdown. (see [below for nested schema](#nestedatt--provisioning_scheme--amazon_workspaces_core_machine_config--image_update_reboot_options))
908918
- `master_image_note` (String) The note for the image.
909919
- `prepared_image` (Attributes) Specifying the prepared master image to be used for machine catalog. (see [below for nested schema](#nestedatt--provisioning_scheme--amazon_workspaces_core_machine_config--prepared_image))
920+
- `writeback_cache` (Attributes) Write-back Cache config for Amazon WorkSpaces Core catalogs. Leave this empty to disable Write-back Cache. Write-back Cache requires Machine image with MCSIO driver installed. MCS I/O can only be enabled on non-persistent catalogs using Windows images. (see [below for nested schema](#nestedatt--provisioning_scheme--amazon_workspaces_core_machine_config--writeback_cache))
910921

911922
<a id="nestedatt--provisioning_scheme--amazon_workspaces_core_machine_config--machine_profile"></a>
912923
### Nested Schema for `provisioning_scheme.amazon_workspaces_core_machine_config.machine_profile`
@@ -944,6 +955,22 @@ Required:
944955
- `image_version` (String) ID of the image version.
945956

946957

958+
<a id="nestedatt--provisioning_scheme--amazon_workspaces_core_machine_config--writeback_cache"></a>
959+
### Nested Schema for `provisioning_scheme.amazon_workspaces_core_machine_config.writeback_cache`
960+
961+
Required:
962+
963+
- `wbc_disk_storage_type` (String) Type of the storage for the Write-back Cache disk. Choose between `gp2`, `gp3`, `io1`, and `io2`. For `gp3`, optional IOPS and throughput may be appended as `gp3:<iops>` or `gp3:<iops>:<throughput>` (e.g. `gp3:3000:125`). `io1`/`io2` may specify IOPS as `io1:<iops>`.
964+
- `writeback_cache_disk_size_gb` (Number) The size in GB of any temporary storage disk used by the write back cache. Must be greater than 0 and not larger than the OS disk.
965+
- `writeback_cache_memory_size_mb` (Number) The size of the in-memory write back cache in MB. Must be greater than 0 and less than the VM's physical memory.
966+
967+
Optional:
968+
969+
- `persist_os_disk` (Boolean) Persist the OS disk when power cycling the non-persistent provisioned virtual machine.
970+
- `persist_wbc` (Boolean) Persist Write-back Cache.
971+
- `writeback_cache_drive_letter` (String) The drive letter assigned for the write back cache disk. Changing this value requires the machine catalog to be recreated.
972+
973+
947974

948975
<a id="nestedatt--provisioning_scheme--aws_machine_config"></a>
949976
### Nested Schema for `provisioning_scheme.aws_machine_config`

‎docs/resources/machine_properties.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ resource "citrix_machine_properties" "example_machine_properties" {
3030

3131
### Optional
3232

33-
- `tags` (Set of String) A set of identifiers of tags to associate with the machine.
33+
- `tags` (Set of String) A set of identifiers of tags to associate with the machine directly. Tags the machine inherits from its delivery group, application groups, or applications are not tracked here and cannot be removed at the machine level. Must contain at least one element when specified; omit the attribute to assign no tags.
3434

3535
## Import
3636

‎docs/resources/policy_priority.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,22 @@ resource "citrix_policy_priority" "example" {
2929

3030
### Required
3131

32-
- `policy_priority` (List of String) Ordered list of policy IDs.
32+
- `policy_priority` (List of String) Ordered list of policy IDs. Each policy may be listed only once.
3333

3434
-> **Note** The order of policy IDs in the list determines the priority of the policies.
35+
36+
-> **Note** The list does not have to name every policy in the policy set. Policies in the set that are not listed keep their relative order and are given lower priority than every listed policy.
37+
38+
~> **Warning** A policy added to the policy set outside Terraform, for example in Studio, is moved below the listed policies the next time this resource is applied. Such a policy does not itself produce a plan, so if it was given a higher priority than the listed policies, `terraform plan` reports no changes while it continues to outrank them. The order is only corrected once some other change causes this resource to be applied.
3539
- `policy_set_id` (String) GUID identifier of the policy set.
3640

3741
### Read-Only
3842

3943
- `policy_names` (List of String) Ordered list of policy names.
4044

4145
-> **Note** The order of policy names in the list reflects the priority of the policies.
46+
47+
-> **Note** Only the policies named in `policy_priority` appear here. Policies in the policy set that are not listed are omitted, except immediately after `terraform import`, which adopts every policy in the set.
4248
- `policy_set_name` (String) Name of the policy set.
4349

4450
## Import

‎docs/resources/tag.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ resource "citrix_tag" "example_tag" {
3232
### Optional
3333

3434
- `description` (String) Description of the tag.
35-
- `scopes` (Set of String) The set of IDs of the scopes applied on the tag. Please note that the ALL scope will be applied to the tag by default.
35+
- `scopes` (Set of String) The set of IDs of the admin scopes applied on the tag.
3636

3737
### Read-Only
3838

‎go.mod‎

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
module github.com/citrix/terraform-provider-citrix
22

3-
go 1.26.4
3+
go 1.26.6
44

55
require (
6-
github.com/citrix/citrix-daas-rest-go v1.0.32
6+
github.com/citrix/citrix-daas-rest-go v1.0.33
77
github.com/google/go-cmp v0.7.0
88
github.com/google/uuid v1.6.0
9-
github.com/hashicorp/go-azure-helpers v0.81.1
9+
github.com/hashicorp/go-azure-helpers v0.82.0
1010
github.com/hashicorp/go-multierror v1.1.1
1111
github.com/hashicorp/terraform-plugin-docs v0.20.1
1212
github.com/hashicorp/terraform-plugin-framework v1.19.0
1313
github.com/hashicorp/terraform-plugin-framework-validators v0.19.0
1414
github.com/hashicorp/terraform-plugin-go v0.31.0
15-
github.com/hashicorp/terraform-plugin-log v0.10.0
15+
github.com/hashicorp/terraform-plugin-log v0.11.0
1616
github.com/hashicorp/terraform-plugin-testing v1.8.0
17-
github.com/stretchr/testify v1.11.1
18-
golang.org/x/mod v0.38.0
17+
github.com/stretchr/testify v1.12.1
18+
golang.org/x/mod v0.41.0
1919
)
2020

2121
require (
@@ -32,7 +32,6 @@ require (
3232
github.com/bgentry/speakeasy v0.1.0 // indirect
3333
github.com/bmatcuk/doublestar/v4 v4.7.1 // indirect
3434
github.com/cloudflare/circl v1.6.3 // indirect
35-
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
3635
github.com/fatih/color v1.19.0 // indirect
3736
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
3837
github.com/golang/protobuf v1.5.4 // indirect
@@ -44,29 +43,28 @@ require (
4443
github.com/hashicorp/go-hclog v1.6.3 // indirect
4544
github.com/hashicorp/go-plugin v1.8.0 // indirect
4645
github.com/hashicorp/go-retryablehttp v0.7.8 // indirect
47-
github.com/hashicorp/go-uuid v1.0.3 // indirect
46+
github.com/hashicorp/go-uuid v1.0.4 // indirect
4847
github.com/hashicorp/go-version v1.9.0 // indirect
4948
github.com/hashicorp/hc-install v0.9.4 // indirect
50-
github.com/hashicorp/hcl/v2 v2.24.0 // indirect
49+
github.com/hashicorp/hcl/v2 v2.25.0 // indirect
5150
github.com/hashicorp/logutils v1.0.0 // indirect
5251
github.com/hashicorp/terraform-exec v0.25.1 // indirect
5352
github.com/hashicorp/terraform-json v0.27.2 // indirect
5453
github.com/hashicorp/terraform-plugin-sdk/v2 v2.40.1 // indirect
55-
github.com/hashicorp/terraform-registry-address v0.4.0 // indirect
54+
github.com/hashicorp/terraform-registry-address v0.5.0 // indirect
5655
github.com/hashicorp/terraform-svchost v0.2.1 // indirect
5756
github.com/hashicorp/yamux v0.1.2 // indirect
5857
github.com/huandu/xstrings v1.3.3 // indirect
5958
github.com/imdario/mergo v0.3.15 // indirect
6059
github.com/mattn/go-colorable v0.1.15 // indirect
61-
github.com/mattn/go-isatty v0.0.23 // indirect
60+
github.com/mattn/go-isatty v0.0.24 // indirect
6261
github.com/mattn/go-runewidth v0.0.9 // indirect
6362
github.com/mitchellh/copystructure v1.2.0 // indirect
6463
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
6564
github.com/mitchellh/go-wordwrap v1.0.1 // indirect
6665
github.com/mitchellh/mapstructure v1.5.0 // indirect
6766
github.com/mitchellh/reflectwalk v1.0.2 // indirect
6867
github.com/oklog/run v1.2.0 // indirect
69-
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
7068
github.com/posener/complete v1.2.3 // indirect
7169
github.com/shopspring/decimal v1.3.1 // indirect
7270
github.com/spf13/cast v1.5.0 // indirect
@@ -78,17 +76,18 @@ require (
7876
github.com/yuin/goldmark-meta v1.1.0 // indirect
7977
github.com/zclconf/go-cty v1.19.0 // indirect
8078
go.abhg.dev/goldmark/frontmatter v0.2.0 // indirect
81-
golang.org/x/crypto v0.54.0 // indirect
82-
golang.org/x/exp v0.0.0-20260709172345-9ea1abe57597 // indirect
83-
golang.org/x/net v0.57.0 // indirect
84-
golang.org/x/sync v0.22.0 // indirect
85-
golang.org/x/sys v0.47.0 // indirect
86-
golang.org/x/text v0.40.0 // indirect
87-
golang.org/x/tools v0.48.0 // indirect
79+
go.yaml.in/yaml/v3 v3.0.5 // indirect
80+
golang.org/x/crypto v0.57.0 // indirect
81+
golang.org/x/exp v0.0.0-20260908205506-85c1c2202aba // indirect
82+
golang.org/x/net v0.59.0 // indirect
83+
golang.org/x/sync v0.23.0 // indirect
84+
golang.org/x/sys v0.48.0 // indirect
85+
golang.org/x/text v0.42.0 // indirect
86+
golang.org/x/tools v0.51.0 // indirect
8887
google.golang.org/appengine v1.6.8 // indirect
89-
google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d // indirect
90-
google.golang.org/grpc v1.82.1 // indirect
91-
google.golang.org/protobuf v1.36.11 // indirect
88+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect
89+
google.golang.org/grpc v1.84.0 // indirect
90+
google.golang.org/protobuf v1.36.12 // indirect
9291
gopkg.in/yaml.v2 v2.3.0 // indirect
9392
gopkg.in/yaml.v3 v3.0.1 // indirect
9493
)

0 commit comments

Comments
 (0)