Skip to content

Commit 8e48d70

Browse files
Merge branch 'main' into tylerwolf/project-agent-pools
2 parents fcdedc2 + 21cae0b commit 8e48d70

File tree

110 files changed

+2418
-850
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+2418
-850
lines changed

CHANGELOG.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
## Unreleased
22

3-
ENHANCEMENTS:
3+
FEATURES:
4+
5+
* `r/tfe_registry_module`: Add `source_directory` and `tag_prefix` registry module support for private registry monorepository, which is a beta feature and not available to all users, by @jillirami ([#1800](https://github.com/hashicorp/terraform-provider-tfe/pull/1800))
6+
* `r/tfe_terraform_version`: Adds support for specifying architecture-specific binaries using the `archs` attribute, by @kelsi-hoyle [1762](https://github.com/hashicorp/terraform-provider-tfe/pull/1762)
7+
* `r/tfe_opa_version`: Adds support for specifying architecture-specific binaries using the `archs` attribute, by @kelsi-hoyle [1762](https://github.com/hashicorp/terraform-provider-tfe/pull/1762)
8+
* `r/tfe_sentinel_version`: Adds support for specifying architecture-specific binaries using the `archs` attribute, by @kelsi-hoyle [1762](https://github.com/hashicorp/terraform-provider-tfe/pull/1762)
9+
10+
DEPRECATIONS:
11+
12+
* `r/tfe_terraform_version`: The `url` and `sha` attributes are deprecated and will be removed in a future version. Use the `archs` attribute to specify architecture-specific binaries going forward, by @kelsi-hoyle [1762](https://github.com/hashicorp/terraform-provider-tfe/pull/1762)
13+
* `r/tfe_opa_version`: The `url` and `sha` attributes are deprecated and will be removed in a future version. Use the `archs` attribute to specify architecture-specific binaries going forward, by @kelsi-hoyle [1762](https://github.com/hashicorp/terraform-provider-tfe/pull/1762)
14+
* `r/tfe_sentinel_version`: The `url` and `sha` attributes are deprecated and will be removed in a future version. Use the `archs` attribute to specify architecture-specific binaries going forward, by @kelsi-hoyle [1762](https://github.com/hashicorp/terraform-provider-tfe/pull/1762)
415
* `r/tfe_oauth_client`: The `oauth_token` attribute no longer triggers resource replacement unless combined with other replacement-triggering attributes. Use `terraform apply -replace` to force replacement. By @lilincmu [#1825](https://github.com/hashicorp/terraform-provider-tfe/pull/1825)
516
* `d/tfe_agent_pool`: Adds the `allowed_project_ids` and `excluded_workspace_ids` attributes, by @tylerworlf [#1822](https://github.com/hashicorp/terraform-provider-tfe/pull/1822)
617
* `r/tfe_agent_pool_allowed_projects`: Adds support for scoping agent pools to projects, by @tylerworlf [#1822](https://github.com/hashicorp/terraform-provider-tfe/pull/1822)
718
* `r/tfe_agent_pool_excluded_workspaces`: Adds support for excluding workspaces from the scope of agent pools, by @tylerworlf [#1822](https://github.com/hashicorp/terraform-provider-tfe/pull/1822)
819
* `r/tfe_project_settings`: Adds support for managing project settings. This initially supports setting a `default_execution_mode` and `default_agent_pool_id` which override the organization defaults. When not specified in the configuration, the organization defaults will be used and can be read from the resource. by @JarrettSpiker [#1822](Thttps://github.com/hashicorp/terraform-provider-tfe/pull/1822)
20+
* `r/tfe_test_variable`: Add missing argument reference and attributes documentation ([#1625](https://github.com/hashicorp/terraform-provider-tfe/issues/1625))
921

1022
## v0.68.3
1123
BUG FIXES:
24+
1225
* `r/tfe_notification_configuration`: update url attribute to be sensitive, by @jillirami [#1799](https://github.com/hashicorp/terraform-provider-tfe/pull/1799)
26+
* `d/tfe_project`: fixes: 'duplicate set element' error, as workspaces can appear multiple times in get /workspaces, by @lewis-catley [#1817](https://github.com/hashicorp/terraform-provider-tfe/pull/1817)
1327
* `r/tfe_workspace`: fixed documentation Example Usages to use the `tfe_organization.test-organization.name` as organization name
1428
* `r/tfe_workspace_run`: fixed documentation Example Usages to use the `tfe_organization.test-organization.name` as organization name
1529

16-
1730
## v0.68.2
1831

1932
BUG FIXES:

go.mod

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

3-
go 1.24
3+
go 1.24.0
44

55
toolchain go1.24.1
66

@@ -14,7 +14,7 @@ require (
1414
github.com/hashicorp/go-multierror v1.1.1 // indirect
1515
github.com/hashicorp/go-retryablehttp v0.7.8 // indirect
1616
github.com/hashicorp/go-slug v0.16.7
17-
github.com/hashicorp/go-tfe v1.91.0
17+
github.com/hashicorp/go-tfe v1.92.0
1818
github.com/hashicorp/go-version v1.7.0
1919
github.com/hashicorp/hcl v1.0.0
2020
github.com/hashicorp/hcl/v2 v2.23.0 // indirect
@@ -65,7 +65,7 @@ require (
6565
github.com/hashicorp/terraform-plugin-framework-timetypes v0.5.0
6666
github.com/hashicorp/terraform-plugin-log v0.9.0
6767
github.com/hashicorp/terraform-plugin-testing v1.13.3
68-
github.com/stretchr/testify v1.10.0
68+
github.com/stretchr/testify v1.11.1
6969
go.uber.org/mock v0.6.0
7070
)
7171

@@ -80,7 +80,7 @@ require (
8080
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
8181
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
8282
golang.org/x/mod v0.27.0 // indirect
83-
golang.org/x/sync v0.16.0 // indirect
83+
golang.org/x/sync v0.17.0 // indirect
8484
golang.org/x/tools v0.36.0 // indirect
8585
google.golang.org/genproto/googleapis/rpc v0.0.0-20250218202821-56aae31c358a // indirect
8686
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect

go.sum

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,12 @@ github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+l
6868
github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
6969
github.com/hashicorp/go-plugin v1.6.3 h1:xgHB+ZUSYeuJi96WtxEjzi23uh7YQpznjGh0U0UUrwg=
7070
github.com/hashicorp/go-plugin v1.6.3/go.mod h1:MRobyh+Wc/nYy1V4KAXUiYfzxoYhs7V1mlH1Z7iY2h0=
71-
github.com/hashicorp/go-retryablehttp v0.7.7 h1:C8hUCYzor8PIfXHa4UrZkU4VvK8o9ISHxT2Q8+VepXU=
72-
github.com/hashicorp/go-retryablehttp v0.7.7/go.mod h1:pkQpWZeYWskR+D1tR2O5OcBFOxfA7DoAO6xtkuQnHTk=
7371
github.com/hashicorp/go-retryablehttp v0.7.8 h1:ylXZWnqa7Lhqpk0L1P1LzDtGcCR0rPVUrx/c8Unxc48=
7472
github.com/hashicorp/go-retryablehttp v0.7.8/go.mod h1:rjiScheydd+CxvumBsIrFKlx3iS0jrZ7LvzFGFmuKbw=
7573
github.com/hashicorp/go-slug v0.16.7 h1:sBW8y1sX+JKOZKu9a+DQZuWDVaX+U9KFnk6+VDQvKcw=
7674
github.com/hashicorp/go-slug v0.16.7/go.mod h1:X5fm++dL59cDOX8j48CqHr4KARTQau7isGh0ZVxJB5I=
77-
github.com/hashicorp/go-tfe v1.90.0 h1:NHJB8i19QXJEsEqTlRenZ3mWsS11OivkPgokMpg1fSs=
78-
github.com/hashicorp/go-tfe v1.90.0/go.mod h1:6dUFMBKh0jkxlRsrw7bYD2mby0efdwE4dtlAuTogIzA=
79-
github.com/hashicorp/go-tfe v1.91.0 h1:X9kelNLdpbALw3kJYbNE/L18VnwEDMXgW9j3aXxin2Q=
80-
github.com/hashicorp/go-tfe v1.91.0/go.mod h1:GQL5wq6HOP2kiLrwKAhB+m38IN552Jz6lNhZfGQ64hw=
75+
github.com/hashicorp/go-tfe v1.92.0 h1:DxJ/ONlNgp4kP5xdglJBLYBeunDeii3CelpgA6PjebM=
76+
github.com/hashicorp/go-tfe v1.92.0/go.mod h1:QwqgCD5seztgp76CP7F0POJPflQNSqjIvBpVohg9X50=
8177
github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
8278
github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8=
8379
github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
@@ -162,8 +158,8 @@ github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnB
162158
github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY=
163159
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
164160
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
165-
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
166-
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
161+
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
162+
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
167163
github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
168164
github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI=
169165
github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
@@ -210,8 +206,8 @@ golang.org/x/oauth2 v0.29.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT
210206
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
211207
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
212208
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
213-
golang.org/x/sync v0.16.0 h1:ycBJEhp9p4vXvUZNszeOq0kGTPghopOL8q0fq3vstxw=
214-
golang.org/x/sync v0.16.0/go.mod h1:1dzgHSNfp02xaA81J2MS99Qcpr2w7fw1gpm99rleRqA=
209+
golang.org/x/sync v0.17.0 h1:l60nONMj9l5drqw6jlhIELNv9I0A4OFgRsG9k2oT9Ug=
210+
golang.org/x/sync v0.17.0/go.mod h1:9KTHXmSnoGruLpwFjVSX0lNNA75CykiMECbovNTZqGI=
215211
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
216212
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
217213
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -233,8 +229,6 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
233229
golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
234230
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
235231
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
236-
golang.org/x/time v0.11.0 h1:/bpjEDfN9tkoN/ryeYHnv5hcMlc8ncjMcM4XBk5NWV0=
237-
golang.org/x/time v0.11.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg=
238232
golang.org/x/time v0.12.0 h1:ScB/8o8olJvc+CQPWrK3fPZNfh7qgwCrY0zJmoEQLSE=
239233
golang.org/x/time v0.12.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg=
240234
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=

internal/provider/data_source_agent_pool_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func TestAccTFEAgentPoolDataSource_basic(t *testing.T) {
2929

3030
resource.Test(t, resource.TestCase{
3131
PreCheck: func() { testAccPreCheck(t) },
32-
ProtoV5ProviderFactories: testAccMuxedProviders,
32+
ProtoV6ProviderFactories: testAccMuxedProviders,
3333
Steps: []resource.TestStep{
3434
{
3535
Config: testAccTFEAgentPoolDataSourceConfig(org.Name, rInt),
@@ -69,7 +69,7 @@ func TestAccTFEAgentPoolDataSource_allowed_workspaces(t *testing.T) {
6969

7070
resource.Test(t, resource.TestCase{
7171
PreCheck: func() { testAccPreCheck(t) },
72-
ProtoV5ProviderFactories: testAccMuxedProviders,
72+
ProtoV6ProviderFactories: testAccMuxedProviders,
7373
Steps: []resource.TestStep{
7474
{
7575
Config: testAccTFEAgentPoolDataSourceAllowedWorkspacesConfig(org.Name, rInt, ws.ID),

internal/provider/data_source_github_app_installation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func testAccTFEGHAInstallationDataSourcePreCheck(t *testing.T) {
2020
func TestAccTFEGHAInstallationDataSource_findByName(t *testing.T) {
2121
resource.Test(t, resource.TestCase{
2222
PreCheck: func() { testAccTFEGHAInstallationDataSourcePreCheck(t) },
23-
ProtoV5ProviderFactories: testAccMuxedProviders,
23+
ProtoV6ProviderFactories: testAccMuxedProviders,
2424
Steps: []resource.TestStep{
2525
{
2626
Config: testAccTFEGHAInstallationDataSourceConfig_findByName(envGithubAppInstallationName),

internal/provider/data_source_ip_ranges_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func TestAccTFEIPRangesDataSource_basic(t *testing.T) {
1616

1717
resource.Test(t, resource.TestCase{
1818
PreCheck: func() { testAccPreCheck(t) },
19-
ProtoV5ProviderFactories: testAccMuxedProviders,
19+
ProtoV6ProviderFactories: testAccMuxedProviders,
2020
Steps: []resource.TestStep{
2121
{
2222
Config: testAccTFEIPRangesDataSourceConfig(),

internal/provider/data_source_no_code_module_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func TestAccTFENoCodeModuleDataSource_public(t *testing.T) {
1919

2020
resource.Test(t, resource.TestCase{
2121
PreCheck: func() { testAccPreCheck(t) },
22-
ProtoV5ProviderFactories: testAccMuxedProviders,
22+
ProtoV6ProviderFactories: testAccMuxedProviders,
2323
Steps: []resource.TestStep{
2424
{
2525
Config: testAccTFENoCodeModuleDataSourceConfig_public(rInt),

internal/provider/data_source_oauth_client_test.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func TestAccTFEOAuthClientDataSource_basic(t *testing.T) {
2525

2626
resource.Test(t, resource.TestCase{
2727
PreCheck: func() { testAccTFEOAuthClientDataSourcePreCheck(t) },
28-
ProtoV5ProviderFactories: testAccMuxedProviders,
28+
ProtoV6ProviderFactories: testAccMuxedProviders,
2929
Steps: []resource.TestStep{
3030
{
3131
Config: testAccTFEOAuthClientDataSourceConfig_basic(rInt),
@@ -46,7 +46,7 @@ func TestAccTFEOAuthClientDataSource_findByID(t *testing.T) {
4646
rInt := rand.New(rand.NewSource(time.Now().UnixNano())).Int()
4747
resource.Test(t, resource.TestCase{
4848
PreCheck: func() { testAccTFEOAuthClientDataSourcePreCheck(t) },
49-
ProtoV5ProviderFactories: testAccMuxedProviders,
49+
ProtoV6ProviderFactories: testAccMuxedProviders,
5050
Steps: []resource.TestStep{
5151
{
5252
Config: testAccTFEOAuthClientDataSourceConfig_findByID(rInt),
@@ -76,7 +76,7 @@ func TestAccTFEOAuthClientDataSource_findByName(t *testing.T) {
7676
rInt := rand.New(rand.NewSource(time.Now().UnixNano())).Int()
7777
resource.Test(t, resource.TestCase{
7878
PreCheck: func() { testAccTFEOAuthClientDataSourcePreCheck(t) },
79-
ProtoV5ProviderFactories: testAccMuxedProviders,
79+
ProtoV6ProviderFactories: testAccMuxedProviders,
8080
Steps: []resource.TestStep{
8181
{
8282
Config: testAccTFEOAuthClientDataSourceConfig_findByName(rInt),
@@ -106,7 +106,7 @@ func TestAccTFEOAuthClientDataSource_findByServiceProvider(t *testing.T) {
106106
rInt := rand.New(rand.NewSource(time.Now().UnixNano())).Int()
107107
resource.Test(t, resource.TestCase{
108108
PreCheck: func() { testAccTFEOAuthClientDataSourcePreCheck(t) },
109-
ProtoV5ProviderFactories: testAccMuxedProviders,
109+
ProtoV6ProviderFactories: testAccMuxedProviders,
110110
Steps: []resource.TestStep{
111111
{
112112
Config: testAccTFEOAuthClientDataSourceConfig_findByServiceProvider(rInt),
@@ -133,7 +133,7 @@ func TestAccTFEOAuthClientDataSource_missingParameters(t *testing.T) {
133133
rInt := rand.New(rand.NewSource(time.Now().UnixNano())).Int()
134134
resource.Test(t, resource.TestCase{
135135
PreCheck: func() { testAccTFEOAuthClientDataSourcePreCheck(t) },
136-
ProtoV5ProviderFactories: testAccMuxedProviders,
136+
ProtoV6ProviderFactories: testAccMuxedProviders,
137137
Steps: []resource.TestStep{
138138
{
139139
Config: testAccTFEOAuthClientDataSourceConfig_missingParameters(rInt),
@@ -147,7 +147,7 @@ func TestAccTFEOAuthClientDataSource_missingOrgWithName(t *testing.T) {
147147
rInt := rand.New(rand.NewSource(time.Now().UnixNano())).Int()
148148
resource.Test(t, resource.TestCase{
149149
PreCheck: func() { testAccTFEOAuthClientDataSourcePreCheck(t) },
150-
ProtoV5ProviderFactories: testAccMuxedProviders,
150+
ProtoV6ProviderFactories: testAccMuxedProviders,
151151
Steps: []resource.TestStep{
152152
{
153153
Config: testAccTFEOAuthClientDataSourceConfig_missingOrgWithName(rInt),
@@ -161,7 +161,7 @@ func TestAccTFEOAuthClientDataSource_missingOrgWithServiceProvider(t *testing.T)
161161
rInt := rand.New(rand.NewSource(time.Now().UnixNano())).Int()
162162
resource.Test(t, resource.TestCase{
163163
PreCheck: func() { testAccTFEOAuthClientDataSourcePreCheck(t) },
164-
ProtoV5ProviderFactories: testAccMuxedProviders,
164+
ProtoV6ProviderFactories: testAccMuxedProviders,
165165
Steps: []resource.TestStep{
166166
{
167167
Config: testAccTFEOAuthClientDataSourceConfig_missingOrgWithServiceProvider(rInt),
@@ -175,7 +175,7 @@ func TestAccTFEOAuthClientDataSource_sameName(t *testing.T) {
175175
rInt := rand.New(rand.NewSource(time.Now().UnixNano())).Int()
176176
resource.Test(t, resource.TestCase{
177177
PreCheck: func() { testAccTFEOAuthClientDataSourcePreCheck(t) },
178-
ProtoV5ProviderFactories: testAccMuxedProviders,
178+
ProtoV6ProviderFactories: testAccMuxedProviders,
179179
Steps: []resource.TestStep{
180180
{
181181
Config: testAccTFEOAuthClientDataSourceConfig_sameName(rInt),
@@ -189,7 +189,7 @@ func TestAccTFEOAuthClientDataSource_noName(t *testing.T) {
189189
rInt := rand.New(rand.NewSource(time.Now().UnixNano())).Int()
190190
resource.Test(t, resource.TestCase{
191191
PreCheck: func() { testAccTFEOAuthClientDataSourcePreCheck(t) },
192-
ProtoV5ProviderFactories: testAccMuxedProviders,
192+
ProtoV6ProviderFactories: testAccMuxedProviders,
193193
Steps: []resource.TestStep{
194194
{
195195
Config: testAccTFEOAuthClientDataSourceConfig_noName(rInt),
@@ -203,7 +203,7 @@ func TestAccTFEOAuthClientDataSource_sameServiceProvider(t *testing.T) {
203203
rInt := rand.New(rand.NewSource(time.Now().UnixNano())).Int()
204204
resource.Test(t, resource.TestCase{
205205
PreCheck: func() { testAccTFEOAuthClientDataSourcePreCheck(t) },
206-
ProtoV5ProviderFactories: testAccMuxedProviders,
206+
ProtoV6ProviderFactories: testAccMuxedProviders,
207207
Steps: []resource.TestStep{
208208
{
209209
Config: testAccTFEOAuthClientDataSourceConfig_sameServiceProvider(rInt),

internal/provider/data_source_organization_members_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func TestAccTFEOrganizationMembersDataSource_basic(t *testing.T) {
2727

2828
resource.Test(t, resource.TestCase{
2929
PreCheck: func() { testAccPreCheck(t) },
30-
ProtoV5ProviderFactories: testAccMuxedProviders,
30+
ProtoV6ProviderFactories: testAccMuxedProviders,
3131
Steps: []resource.TestStep{
3232
{
3333
Config: testAccTFEOrganizationMembersDataSourceConfig(org.Name),

internal/provider/data_source_organization_membership_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func TestAccTFEOrganizationMembershipDataSource_basic(t *testing.T) {
2020

2121
resource.Test(t, resource.TestCase{
2222
PreCheck: func() { testAccPreCheck(t) },
23-
ProtoV5ProviderFactories: testAccMuxedProviders,
23+
ProtoV6ProviderFactories: testAccMuxedProviders,
2424
Steps: []resource.TestStep{
2525
{
2626
Config: testAccTFEOrganizationMembershipDataSourceConfig(rInt),
@@ -67,7 +67,7 @@ func TestAccTFEOrganizationMembershipDataSource_findByName(t *testing.T) {
6767
t.Skip("Please set TFE_USER1 to run this test")
6868
}
6969
},
70-
ProtoV5ProviderFactories: testAccMuxedProviders,
70+
ProtoV6ProviderFactories: testAccMuxedProviders,
7171
Steps: []resource.TestStep{
7272
{
7373
Config: testAccTFEOrganizationMembershipDataSourceSearchUsername(envTFEUser1),
@@ -90,7 +90,7 @@ func TestAccTFEOrganizationMembershipDataSource_missingParams(t *testing.T) {
9090

9191
resource.Test(t, resource.TestCase{
9292
PreCheck: func() { testAccPreCheck(t) },
93-
ProtoV5ProviderFactories: testAccMuxedProviders,
93+
ProtoV6ProviderFactories: testAccMuxedProviders,
9494
Steps: []resource.TestStep{
9595
{
9696
Config: testAccTFEOrganizationMembershipDataSourceMissingParams(rInt),

0 commit comments

Comments
 (0)