updated docs #119
174 passed, 14 failed and 11 skipped
❌ junit-test-summary.xml
199 tests were completed in 637s with 174 passed, 14 failed and 11 skipped.
❌ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy
✅ TestAzureServiceFabricTargetResource
✅ TestWorkerPoolResource
✅ TestAccOctopusDeployWindowsServiceFeature
⚪ TestAccAWSOIDCAccountBasic
⚪ TestAccOctopusDeployAzureOpenIDConnectAccountBasic
⚪ TestAccOctopusDeployChannelWithOneRule
⚪ TestAccOctopusDeployChannelWithOneRuleWithUpdate
⚪ TestAccOctopusDeployChannelWithTwoRules
⚪ TestAccOctopusDeployDeploymentProcessWithActionTemplate
⚪ TestAccOctopusDeployDynamicWorkerPoolBasic
⚪ TestAccListeningTentacleDeploymentTarget
⚪ TestAccScopedUserRole
⚪ TestAccTeamUserRole
✅ TestProvider
✅ TestProvider_impl
✅ TestAzureCloudServiceTargetResource
✅ TestGcpAccountResource
✅ TestTokenAccountBasic
✅ TestExpandRunScriptAction
✅ TestAccRunScriptAction
✅ TestExpandDeploymentActionContainer
✅ TestExpandDeploymentActionPackage
✅ TestFlattenDeploymentActionPackage
✅ TestExpandDeploymentActionSlugPackages_NilExpandsToNil
✅ TestExpandDeploymentActionSlugPackages_EmptyExpandsToEmpty
✅ TestExpandDeploymentActionSlugPackages_ArrayExpandsCorrectly
✅ TestExpandDeploymentActionSlugPrimaryPackages_NilExpandsToNil
✅ TestExpandDeploymentActionSlugPrimaryPackages_EmptyExpandsToEmpty
✅ TestExpandDeploymentActionSlugPrimaryPackages_ArrayExpandsCorrectly
✅ TestFlattenDeploymentActionSlugPackages_NilFlattensToNil
✅ TestFlattenDeploymentActionSlugPackages_EmptyFlattensToNil
✅ TestFlattenDeploymentActionSlugPackages_IgnoresPrimaryPackages_NoPackagesAfterFlattening
✅ TestFlattenDeploymentActionSlugPackages_IgnoresPrimaryPackages_ArrayFlattensCorrectly
✅ TestFlattenDeploymentActionSlugPrimaryPackages_NilFlattensToNil
✅ TestFlattenDeploymentActionSlugPrimaryPackages_EmptyFlattensToNil
✅ TestFlattenDeploymentActionSlugPrimaryPackages_IgnoresPackages_NoPrimaryPackagesAfterFlattening
✅ TestFlattenDeploymentActionSlugPrimaryPackages_IgnoresPackages_ArrayFlattensCorrectly
✅ TestExpandDeploymentAction
✅ TestFlattenDeploymentAction
✅ TestGetSliceFromTerraformTypeList
✅ TestAccDataSourceProjects
✅ TestAzureSubscriptionAccountResource
✅ TestAccOctopusDeployCertificateBasic
✅ TestK8sTargetWithCertResource
✅ TestUsersAndTeams
✅ TestAccOctopusDeployAzureServicePrincipalAccountBasic
✅ TestTerraformApplyStepWithWorkerPool
✅ TestPollingSubscriptionIdResource
✅ TestProjectTriggerResource
✅ TestAccOctopusDeployDeployKubernetesSecretAction
✅ TestAwsAccountExport
✅ TestAccOctopusDeployAzureSubscriptionAccountBasic
✅ TestAzureWebAppTargetResource
✅ TestProjectChannelResource
✅ TestCloudRegionTargetResource
✅ TestK8sTargetResource
✅ TestSshAccountResource
✅ TestAccUserRolePermissions
✅ TestAccDataSourceUsers
✅ TestAccOctopusDeployStaticWorkerPoolBasic
✅ TestAccOctopusDeployApplyTerraformAction
✅ TestPackageFeedCreateReleaseTriggerResources
✅ TestAccGcpAccountBasic
✅ TestAccKubernetesClusterDeploymentTargetAws
✅ TestKubernetesDeploymentTargetData
✅ TestKubernetesDeploymentTargetResource
✅ TestSSHKeyBasic
✅ TestAccTeamBasic
✅ TestAccDataSourceAccounts
✅ TestAccOctopusDeployChannelBasicWithUpdate
✅ TestAccCloudRegionDeploymentTargetImportBasic
✅ TestMachinePolicyResource
✅ TestAccSpaceImportBasic
✅ TestAccOctopusDeployManualInterventionAction
✅ TestAccOctopusDeployRunKubectlScriptAction
✅ TestAccDataSourceWorkerPools
✅ TestAccKubernetesClusterDeploymentTargetBasic
✅ TestAccKubernetesClusterDeploymentTargetGcp
✅ TestListeningTargetResource
✅ TestSpaceResource
✅ TestAccOctopusDeployDeployWindowsServiceAction
✅ TestAccDataSourceChannels
✅ TestAccDataSourceSpaces
✅ TestAccOctopusDeployDeploymentProcessWithImpliedPrimaryPackage
✅ TestK8sPodAuthTargetResource
✅ TestAccCloudRegionDeploymentTargetBasic
✅ TestDeploymentProcessWithGitDependency
✅ TestPollingTargetResource
✅ TestAccAWSAccountBasic
✅ TestAccOctopusDeployAzureWebAppDeploymentTargetBasic
✅ TestAccProjectGroup
✅ TestAccSpaceBasic
✅ TestTokenAccountResource
✅ TestAccUserImportBasic
✅ TestAccOctopusDeployChannelBasic
✅ TestAccOctopusDeployDeploymentProcessBasic
✅ TestOfflineDropTargetResource
✅ TestSshTargetResource
✅ TestAccUserRoleBasic
❌ TestCertificateResource
=== RUN TestCertificateResource
✅ TestAccDataSourceSpaces
✅ TestAzureAccountResource
✅ TestProjectScheduledTriggerResources
✅ TestAccUserBasic
❌ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework
✅ TestAccDataSourceLifecycles
✅ TestGitCredentialBasic
✅ TestNugetFeedResource
✅ TestTentacleCertificateResource
✅ TestVariableResource
❌ TestAccOctopusDeployLibraryVariableSetBasic
=== RUN TestAccOctopusDeployLibraryVariableSetBasic
❌ TestTenantProjectResource_UpgradeFromSDK_ToPluginFramework
=== RUN TestTenantProjectResource_UpgradeFromSDK_ToPluginFramework
⚪ TestRunbookResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccDataSourceFeeds
✅ TestAccDataSourceTenants
✅ TestAccPreCheck
✅ TestAccOctopusDeployHelmFeed
✅ TestExpandLifecycleWithNil
✅ TestExpandLifecycle
✅ TestExpandPhasesWithEmptyInput
✅ TestExpandPhasesWithNullInput
✅ TestExpandPhasesWithUnknownInput
✅ TestExpandAndFlattenPhasesWithSensibleDefaults
✅ TestExpandAndFlattenMultiplePhasesWithSensibleDefaults
✅ TestProjectWithGitUsernameExport
✅ TestExpandTagSet
✅ TestAccOctopusDeployVariableBasic
❌ TestScriptModuleResource
=== RUN TestScriptModuleResource
✅ TestGitHubFeed_UpgradeFromSDK_ToPluginFramework
✅ TestAccOctopusDeployArtifactoryGenericFeed
✅ TestAccProjectBasic
✅ TestMavenResource_UpgradeFromSDK_ToPluginFramework
✅ TestGitHubRepositoryFeed
✅ TestHelmFeedResource
✅ TestMavenFeedResource
✅ TestAccDataSourceProjectGroups
✅ TestGithubFeedResource
✅ TestAccOctopusDeployMavenFeed
✅ TestTagSetAndTag
✅ TestTagSetResource
❌ TestAccOctopusDeployLibraryVariableSetWithUpdate
=== RUN TestAccOctopusDeployLibraryVariableSetWithUpdate
❌ TestAccOctopusDeployScriptModuleBasic
=== RUN TestAccOctopusDeployScriptModuleBasic
❌ TestTenantsResource
=== RUN TestTenantsResource
✅ TestNugetFeed_UpgradeFromSDK_ToPluginFramework
✅ TestProjectInSpaceResource
✅ TestSpaceResource_UpgradeFromSDK_ToPluginFramework
❌ TestAccTenantCommonVariableBasic
=== RUN TestAccTenantCommonVariableBasic
❌ TestAccTenantBasic
=== RUN TestAccTenantBasic
✅ TestAccDataSourceTagSets
✅ TestAccLifecycleBasic
✅ TestLifecycleResource
✅ TestUsernamePasswordVariableResource
✅ TestEnvironmentResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccUsernamePasswordBasic
✅ TestProjectTerraformInlineScriptExport
✅ TestProjectTerraformPackageScriptExport
✅ TestHelmFeedResource_UpgradeFromSDK_ToPluginFramework
✅ TestEnvironmentResource
✅ TestAccTag
❌ TestAccOctopusDeployLibraryVariableSetComplex
=== RUN TestAccOctopusDeployLibraryVariableSetComplex
❌ TestTenantVariablesResource
=== RUN TestTenantVariablesResource
✅ TestAccDataSourceEnvironments
✅ TestAccDataSourceSpaces
✅ TestAccOctopusDeployEnvironmentMinimum
✅ TestProjectGroupResource
✅ TestAccOctopusDeployVariablePrompted
✅ TestArtifactoryGenericFeedResource_UpgradeFromSDK_ToPluginFramework
✅ TestAccLifecycleComplex
✅ TestAccOctopusDeployNuGetFeedBasic
✅ TestRunbookResource
✅ TestTenantResource_UpgradeFromSDK_ToPluginFramework
✅ TestUsernamePasswordAccountResource
✅ TestEcrFeedResource
✅ TestAccOctopusDeployDockerContainerRegistry
✅ TestAccProjectWithUpdate
✅ TestProjectWithScriptActions
❌ TestAccTenantProjectVariableBasic
=== RUN TestAccTenantProjectVariableBasic
❌ TestVariableSetResource
=== RUN TestVariableSetResource
✅ TestAccDataSourceScriptModules
✅ TestDockerFeedResource
✅ TestProjectWithDollarSignsExport
✅ TestAccDataSourceSpaces
✅ TestAccOctopusDeployEnvironmentBasic
✅ TestGitCredentialsResource
✅ TestAccLifecycleWithUpdate
✅ TestProjectResource
✅ TestAccUsernamePasswordAccountImport
❌ github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework/schemas
❌ TestFlattenPromptedVariableDisplaySettingsWithNilInput
=== RUN TestFlattenPromptedVariableDisplaySettingsWithNilInput
✅ TestExpandPromptedDisplaySettingsWithNilInput
✅ TestExpandPromptedDisplaySettingsWithEmptyInput
✅ TestExpandPromptedDisplaySettingsWithCheckbox
✅ TestExpandPromptedDisplaySettingsWithSelect
✅ TestExpandPromptedVariableSettingsWithNilInput
✅ TestExpandPromptedVariableSettingsWithEmptyInput
✅ TestExpandSelectOptionsWithNilInput
✅ TestExpandSelectOptionsWithEmptyInput
✅ TestFlattenPromptedVariableSettingsWithNilInput
✅ TestFlattenSelectOptionsWithNilInput
✅ TestExpandVariableScope
✅ TestFlattenVariableScope
Annotations
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy ► TestCertificateResource
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestCertificateResource
Raw output
=== RUN TestCertificateResource
octopus_container_test_framework.go:861: POPULATING TEST SPACE 9e66f6449a3747fcb4ff
octopus_container_test_framework.go:732: Working dir: /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy/octopusdeploy
octopus_container_test_framework.go:638:
Warning: Provider development overrides are in effect
The following provider development overrides are set in the CLI
configuration:
- octopusdeploylabs/octopusdeploy in /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy
The behavior may therefore not match any released version of the provider and
applying changes may cause the state to become incompatible with published
releases.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# octopusdeploy_space.octopus_space_test will be created
+ resource "octopusdeploy_space" "octopus_space_test" {
+ description = "TestCertificateResource"
+ id = (known after apply)
+ is_default = false
+ is_task_queue_stopped = false
+ name = "9e66f6449a3747fcb4ff"
+ slug = (known after apply)
+ space_managers_team_members = (known after apply)
+ space_managers_teams = [
+ "teams-administrators",
]
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ octopus_space_id = (known after apply)
octopusdeploy_space.octopus_space_test: Creating...
octopusdeploy_space.octopus_space_test: Creation complete after 0s [id=Spaces-3]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Outputs:
octopus_space_id = "Spaces-3"
octopus_container_test_framework.go:638:
Warning: Provider development overrides are in effect
The following provider development overrides are set in the CLI
configuration:
- octopusdeploylabs/octopusdeploy in /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy
The behavior may therefore not match any released version of the provider and
applying changes may cause the state to become incompatible with published
releases.
data.octopusdeploy_lifecycles.lifecycle_default_lifecycle: Reading...
data.octopusdeploy_lifecycles.lifecycle_default_lifecycle: Read complete after 0s [id=Lifecycles 2024-08-16 04:57:16.613325559 +0000 UTC]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# octopusdeploy_certificate.certificate_kind_ca will be created
+ resource "octopusdeploy_certificate" "certificate_kind_ca" {
+ archived = (known after apply)
+ certificate_data = (sensitive value)
+ certificate_data_format = (known after apply)
+ environments = []
+ has_private_key = (known after apply)
+ id = (known after apply)
+ is_expired = (known after apply)
+ issuer_common_name = (known after apply)
+ issuer_distinguished_name = (known after apply)
+ issuer_organization = (known after apply)
+ name = "Test"
+ not_after = (known after apply)
+ not_before = (known after apply)
+ notes = "A test certificate"
+ password = (sensitive value)
+ replaced_by = (known after apply)
+ self_signed = (known after apply)
+ serial_number = (known after apply)
+ signature_algorithm_name = (known after apply)
+ space_id = (known after apply)
+ subject_alternative_names = (known after apply)
+ subject_common_name = (known after apply)
+ subject_distinguished_name = (known after apply)
+ subject_organization = (known after apply)
+ tenant_tags = []
+ tenanted_deployment_participation = "Untenanted"
+ tenants = []
+ thumbprint = (known after apply)
+ version = (known after apply)
}
# octopusdeploy_environment.development_environment will be created
+ resource "octopusdeploy_environment" "development_environment" {
+ allow_dynamic_infrastructure = true
+ description = "A test environment"
+ id = (known after apply)
+ name = "Development"
+ slug = (known after apply)
+ sort_order = (known after apply)
+ space_id = (known after apply)
+ use_guided_failure = false
}
# octopusdeploy_environment.production_environment will be created
+ resource "octopusdeploy_environment" "production_environment" {
+ allow_dynamic_infrastructure = true
+ description = "A test environment"
+ id = (known after apply)
+ name = "Production"
+ slug = (known after apply)
+ sort_order = (known after apply)
+ space_id = (known after apply)
+ use_guided_failure = false
}
# octopusdeploy_environment.test_environment will be created
+ resource "octopusdeploy_environment" "test_environment" {
+ allow_dynamic_infrastructure = true
+ description = "A test environment"
+ id = (known after apply)
+ name = "Test"
+ slug = (known after apply)
+ sort_order = (known after apply)
+ space_id = (known after apply)
+ use_guided_failure = false
}
# octopusdeploy_project.deploy_frontend_project will be created
+ resource "octopusdeploy_project" "deploy_frontend_project" {
+ auto_create_release = false
+ default_guided_failure_mode = "EnvironmentDefault"
+ default_to_skip_if_already_installed = false
+ deployment_changes_template = (known after apply)
+ deployment_process_id = (known after apply)
+ description = "Test project"
+ discrete_channel_release = false
+ id = (known after apply)
+ included_library_variable_sets = []
+ is_disabled = false
+ is_discrete_channel_release = false
+ is_version_controlled = false
+ lifecycle_id = "Lifecycles-3"
+ name = "Test"
+ project_group_id = (known after apply)
+ release_notes_template = (known after apply)
+ slug = (known after apply)
+ space_id = "Spaces-3"
+ tenanted_deployment_participation = "Tenanted"
+ variable_set_id = (known after apply)
+ connectivity_policy {
+ allow_deployments_to_no_targets = false
+ exclude_unhealthy_targets = false
+ skip_machine_behavior = "SkipUnavailableMachines"
+ target_roles = (known after apply)
}
+ versioning_strategy {
+ template = "#{Octopus.Version.LastMajor}.#{Octopus.Version.LastMinor}.#{Octopus.Version.LastPatch}.#{Octopus.Version.NextRevision}"
}
}
# octopusdeploy_project_group.project_group_test will be created
+ resource "octopusdeploy_project_group" "project_group_test" {
+ description = "Test Description"
+ id = (known after apply)
+ name = "Test"
+ space_id = (known after apply)
}
# octopusdeploy_tag.tag_a will be created
+ resource "octopusdeploy_tag" "tag_a" {
+ canonical_tag_name = (known after apply)
+ color = "#333333"
+ description = "tag a"
+ id = (known after apply)
+ name = "a"
+ sort_order = 2
+ tag_set_id = (known after apply)
+ tag_set_space_id = (known after apply)
}
# octopusdeploy_tag.tag_b will be created
+ resource "octopusdeploy_tag" "tag_b" {
+ canonical_tag_name = (known after apply)
+ color = "#333333"
+ description = "tag b"
+ id = (known after apply)
+ name = "b"
+ sort_order = 3
+ tag_set_id = (known after apply)
+ tag_set_space_id = (known after apply)
}
# octopusdeploy_tag_set.tagset_tag1 will be created
+ resource "octopusdeploy_tag_set" "tagset_tag1" {
+ description = "Test tagset"
+ id = (known after apply)
+ name = "tag1"
+ sort_order = 0
+ space_id = (known after apply)
}
# octopusdeploy_tenant.tenant_team_a will be created
+ resource "octopusdeploy_tenant" "tenant_team_a" {
+ description = "Test tenant"
+ id = (known after apply)
+ name = "Team A"
+ space_id = (known after apply)
+ tenant_tags = [
+ "tag1/a",
+ "tag1/b",
]
# (1 unchanged attribute hidden)
}
# octopusdeploy_tenant_project.team_a_frontend will be created
+ resource "octopusdeploy_tenant_project" "team_a_frontend" {
+ environment_ids = [
+ (known after apply),
+ (known after apply),
+ (known after apply),
]
+ id = (known after apply)
+ project_id = (known after apply)
+ tenant_id = (known after apply)
# (1 unchanged attribute hidden)
}
Plan: 11 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ octopus_space_id = "Spaces-3"
octopusdeploy_certificate.certificate_kind_ca: Creating...
octopusdeploy_environment.test_environment: Creating...
octopusdeploy_tag_set.tagset_tag1: Creating...
octopusdeploy_environment.development_environment: Creating...
octopusdeploy_project_group.project_group_test: Creating...
octopusdeploy_environment.production_environment: Creating...
octopusdeploy_project_group.project_group_test: Creation complete after 0s [id=ProjectGroups-4]
octopusdeploy_project.deploy_frontend_project: Creating...
octopusdeploy_environment.development_environment: Creation complete after 1s [id=Environments-3]
octopusdeploy_environment.production_environment: Creation complete after 1s [id=Environments-1]
octopusdeploy_environment.test_environment: Creation complete after 1s [id=Environments-2]
octopusdeploy_tag_set.tagset_tag1: Creation complete after 1s [id=TagSets-1]
octopusdeploy_tag.tag_b: Creating...
octopusdeploy_tag.tag_a: Creating...
octopusdeploy_tag.tag_b: Creation complete after 0s [id=TagSets-1/Tags-1]
octopusdeploy_certificate.certificate_kind_ca: Creation complete after 1s [id=Certificates-1]
octopusdeploy_tag.tag_a: Creation complete after 0s [id=TagSets-1/Tags-2]
octopusdeploy_tenant.tenant_team_a: Creating...
octopusdeploy_tenant.tenant_team_a: Creation complete after 0s [id=Tenants-1]
octopusdeploy_project.deploy_frontend_project: Creation complete after 1s [id=Projects-1]
octopusdeploy_tenant_project.team_a_frontend: Creating...
octopus_container_test_framework.go:641: server: http://localhost:32770
octopus_container_test_framework.go:642: spaceId: Spaces-3
octopus_container_test_framework.go:646: terraform apply error
octopus_container_test_framework.go:647:
Error: Provider produced inconsistent result after apply
When applying changes to octopusdeploy_tenant_project.team_a_frontend,
provider
"provider[\"registry.terraform.io/octopusdeploylabs/octopusdeploy\"]"
produced an unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-3").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
resource_certificate_test.go:83: exit status 1
--- FAIL: TestCertificateResource (10.23s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestAccOctopusDeployLibraryVariableSetBasic
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestAccOctopusDeployLibraryVariableSetBasic
Raw output
=== RUN TestAccOctopusDeployLibraryVariableSetBasic
resource_library_variable_set_test.go:19: Step 1/1 error: Error running apply: exit status 1
Error: Provider produced inconsistent result after apply
When applying changes to
octopusdeploy_library_variable_set.vddfuafruwxyeepbisof, provider
"provider[\"registry.terraform.io/hashicorp/octopusdeploy\"]" produced an
unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-1").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
--- FAIL: TestAccOctopusDeployLibraryVariableSetBasic (2.02s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestTenantProjectResource_UpgradeFromSDK_ToPluginFramework
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestTenantProjectResource_UpgradeFromSDK_ToPluginFramework
Raw output
=== RUN TestTenantProjectResource_UpgradeFromSDK_ToPluginFramework
resource_tenant_project_migration_test.go:19: Step 1/4 error: Error running apply: exit status 1
Error: Provider produced inconsistent result after apply
When applying changes to octopusdeploy_tenant_project.project_environment,
provider
"provider[\"registry.terraform.io/octopusdeploylabs/octopusdeploy\"]"
produced an unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-1").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
--- FAIL: TestTenantProjectResource_UpgradeFromSDK_ToPluginFramework (5.01s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestScriptModuleResource
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestScriptModuleResource
Raw output
=== RUN TestScriptModuleResource
octopus_container_test_framework.go:861: POPULATING TEST SPACE 6cab1ca269144de7a0c4
octopus_container_test_framework.go:732: Working dir: /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy/octopusdeploy_framework
octopus_container_test_framework.go:638:
Warning: Provider development overrides are in effect
The following provider development overrides are set in the CLI
configuration:
- octopusdeploylabs/octopusdeploy in /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy
The behavior may therefore not match any released version of the provider and
applying changes may cause the state to become incompatible with published
releases.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# octopusdeploy_space.octopus_space_test will be created
+ resource "octopusdeploy_space" "octopus_space_test" {
+ description = "TestScriptModuleResource"
+ id = (known after apply)
+ is_default = false
+ is_task_queue_stopped = false
+ name = "6cab1ca269144de7a0c4"
+ slug = (known after apply)
+ space_managers_team_members = (known after apply)
+ space_managers_teams = [
+ "teams-administrators",
]
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ octopus_space_id = (known after apply)
octopusdeploy_space.octopus_space_test: Creating...
octopusdeploy_space.octopus_space_test: Creation complete after 1s [id=Spaces-2]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Outputs:
octopus_space_id = "Spaces-2"
octopus_container_test_framework.go:638:
Warning: Provider development overrides are in effect
The following provider development overrides are set in the CLI
configuration:
- octopusdeploylabs/octopusdeploy in /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy
The behavior may therefore not match any released version of the provider and
applying changes may cause the state to become incompatible with published
releases.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# octopusdeploy_script_module.library_variable_set_test2 will be created
+ resource "octopusdeploy_script_module" "library_variable_set_test2" {
+ description = "Test script module"
+ id = (known after apply)
+ name = "Test2"
+ variable_set_id = (known after apply)
# (1 unchanged attribute hidden)
+ script {
+ body = "echo \"hi\""
+ syntax = "PowerShell"
}
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ octopus_space_id = "Spaces-2"
octopusdeploy_script_module.library_variable_set_test2: Creating...
octopus_container_test_framework.go:641: server: http://localhost:32772
octopus_container_test_framework.go:642: spaceId: Spaces-2
octopus_container_test_framework.go:646: terraform apply error
octopus_container_test_framework.go:647:
Error: Provider produced inconsistent result after apply
When applying changes to
octopusdeploy_script_module.library_variable_set_test2, provider
"provider[\"registry.terraform.io/octopusdeploylabs/octopusdeploy\"]"
produced an unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-2").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
resource_script_module_test.go:88: exit status 1
--- FAIL: TestScriptModuleResource (2.10s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestAccOctopusDeployLibraryVariableSetWithUpdate
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestAccOctopusDeployLibraryVariableSetWithUpdate
Raw output
=== RUN TestAccOctopusDeployLibraryVariableSetWithUpdate
resource_library_variable_set_test.go:86: Step 1/4 error: Error running apply: exit status 1
Error: Provider produced inconsistent result after apply
When applying changes to
octopusdeploy_library_variable_set.ixwsztmithdpedjftclr, provider
"provider[\"registry.terraform.io/hashicorp/octopusdeploy\"]" produced an
unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-1").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
--- FAIL: TestAccOctopusDeployLibraryVariableSetWithUpdate (1.86s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestAccOctopusDeployScriptModuleBasic
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestAccOctopusDeployScriptModuleBasic
Raw output
=== RUN TestAccOctopusDeployScriptModuleBasic
resource_script_module_test.go:24: Step 1/1 error: Error running apply: exit status 1
Error: Provider produced inconsistent result after apply
When applying changes to octopusdeploy_script_module.qklypufdphjtmngqqxoj,
provider "provider[\"registry.terraform.io/hashicorp/octopusdeploy\"]"
produced an unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-1").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
--- FAIL: TestAccOctopusDeployScriptModuleBasic (1.94s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestTenantsResource
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestTenantsResource
Raw output
=== RUN TestTenantsResource
octopus_container_test_framework.go:861: POPULATING TEST SPACE ba7e684d388143718bdd
octopus_container_test_framework.go:732: Working dir: /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy/octopusdeploy_framework
octopus_container_test_framework.go:638:
Warning: Provider development overrides are in effect
The following provider development overrides are set in the CLI
configuration:
- octopusdeploylabs/octopusdeploy in /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy
The behavior may therefore not match any released version of the provider and
applying changes may cause the state to become incompatible with published
releases.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# octopusdeploy_space.octopus_space_test will be created
+ resource "octopusdeploy_space" "octopus_space_test" {
+ description = "TestTenantsResource"
+ id = (known after apply)
+ is_default = false
+ is_task_queue_stopped = false
+ name = "ba7e684d388143718bdd"
+ slug = (known after apply)
+ space_managers_team_members = (known after apply)
+ space_managers_teams = [
+ "teams-administrators",
]
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ octopus_space_id = (known after apply)
octopusdeploy_space.octopus_space_test: Creating...
octopusdeploy_space.octopus_space_test: Creation complete after 0s [id=Spaces-4]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Outputs:
octopus_space_id = "Spaces-4"
octopus_container_test_framework.go:638:
Warning: Provider development overrides are in effect
The following provider development overrides are set in the CLI
configuration:
- octopusdeploylabs/octopusdeploy in /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy
The behavior may therefore not match any released version of the provider and
applying changes may cause the state to become incompatible with published
releases.
data.octopusdeploy_lifecycles.lifecycle_default_lifecycle: Reading...
data.octopusdeploy_lifecycles.lifecycle_default_lifecycle: Read complete after 0s [id=Lifecycles 2024-08-16 05:05:58.874066717 +0000 UTC]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# octopusdeploy_environment.development_environment will be created
+ resource "octopusdeploy_environment" "development_environment" {
+ allow_dynamic_infrastructure = true
+ description = "A test environment"
+ id = (known after apply)
+ name = "Development"
+ slug = (known after apply)
+ sort_order = (known after apply)
+ space_id = (known after apply)
+ use_guided_failure = false
}
# octopusdeploy_environment.production_environment will be created
+ resource "octopusdeploy_environment" "production_environment" {
+ allow_dynamic_infrastructure = true
+ description = "A test environment"
+ id = (known after apply)
+ name = "Production"
+ slug = (known after apply)
+ sort_order = (known after apply)
+ space_id = (known after apply)
+ use_guided_failure = false
}
# octopusdeploy_environment.test_environment will be created
+ resource "octopusdeploy_environment" "test_environment" {
+ allow_dynamic_infrastructure = true
+ description = "A test environment"
+ id = (known after apply)
+ name = "Test"
+ slug = (known after apply)
+ sort_order = (known after apply)
+ space_id = (known after apply)
+ use_guided_failure = false
}
# octopusdeploy_project.deploy_frontend_project will be created
+ resource "octopusdeploy_project" "deploy_frontend_project" {
+ auto_create_release = false
+ default_guided_failure_mode = "EnvironmentDefault"
+ default_to_skip_if_already_installed = false
+ deployment_changes_template = (known after apply)
+ deployment_process_id = (known after apply)
+ description = "Test project"
+ discrete_channel_release = false
+ id = (known after apply)
+ included_library_variable_sets = []
+ is_disabled = false
+ is_discrete_channel_release = false
+ is_version_controlled = false
+ lifecycle_id = "Lifecycles-4"
+ name = "Test"
+ project_group_id = (known after apply)
+ release_notes_template = (known after apply)
+ slug = (known after apply)
+ space_id = "Spaces-4"
+ tenanted_deployment_participation = "Tenanted"
+ variable_set_id = (known after apply)
+ connectivity_policy {
+ allow_deployments_to_no_targets = false
+ exclude_unhealthy_targets = false
+ skip_machine_behavior = "SkipUnavailableMachines"
+ target_roles = (known after apply)
}
+ versioning_strategy {
+ template = "#{Octopus.Version.LastMajor}.#{Octopus.Version.LastMinor}.#{Octopus.Version.LastPatch}.#{Octopus.Version.NextRevision}"
}
}
# octopusdeploy_project_group.project_group_test will be created
+ resource "octopusdeploy_project_group" "project_group_test" {
+ description = "Test Description"
+ id = (known after apply)
+ name = "Test"
+ space_id = (known after apply)
}
# octopusdeploy_tag.tag_a will be created
+ resource "octopusdeploy_tag" "tag_a" {
+ canonical_tag_name = (known after apply)
+ color = "#333333"
+ description = "tag a"
+ id = (known after apply)
+ name = "a"
+ sort_order = 2
+ tag_set_id = (known after apply)
+ tag_set_space_id = (known after apply)
}
# octopusdeploy_tag.tag_b will be created
+ resource "octopusdeploy_tag" "tag_b" {
+ canonical_tag_name = (known after apply)
+ color = "#333333"
+ description = "tag b"
+ id = (known after apply)
+ name = "b"
+ sort_order = 3
+ tag_set_id = (known after apply)
+ tag_set_space_id = (known after apply)
}
# octopusdeploy_tag_set.tagset_tag1 will be created
+ resource "octopusdeploy_tag_set" "tagset_tag1" {
+ description = "Test tagset"
+ id = (known after apply)
+ name = "tag1"
+ sort_order = 0
+ space_id = (known after apply)
}
# octopusdeploy_tenant.tenant_team_a will be created
+ resource "octopusdeploy_tenant" "tenant_team_a" {
+ description = "Test tenant"
+ id = (known after apply)
+ name = "Team A"
+ space_id = (known after apply)
+ tenant_tags = [
+ "tag1/a",
+ "tag1/b",
]
# (1 unchanged attribute hidden)
}
# octopusdeploy_tenant_project.team_a_frontend will be created
+ resource "octopusdeploy_tenant_project" "team_a_frontend" {
+ environment_ids = [
+ (known after apply),
+ (known after apply),
+ (known after apply),
]
+ id = (known after apply)
+ project_id = (known after apply)
+ tenant_id = (known after apply)
# (1 unchanged attribute hidden)
}
Plan: 10 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ octopus_space_id = "Spaces-4"
octopusdeploy_project_group.project_group_test: Creating...
octopusdeploy_environment.development_environment: Creating...
octopusdeploy_tag_set.tagset_tag1: Creating...
octopusdeploy_environment.test_environment: Creating...
octopusdeploy_environment.production_environment: Creating...
octopusdeploy_project_group.project_group_test: Creation complete after 0s [id=ProjectGroups-6]
octopusdeploy_project.deploy_frontend_project: Creating...
octopusdeploy_tag_set.tagset_tag1: Creation complete after 0s [id=TagSets-1]
octopusdeploy_environment.test_environment: Creation complete after 0s [id=Environments-3]
octopusdeploy_environment.production_environment: Creation complete after 0s [id=Environments-1]
octopusdeploy_tag.tag_b: Creating...
octopusdeploy_tag.tag_a: Creating...
octopusdeploy_environment.development_environment: Creation complete after 0s [id=Environments-2]
octopusdeploy_tag.tag_b: Creation complete after 1s [id=TagSets-1/Tags-1]
octopusdeploy_tag.tag_a: Creation complete after 1s [id=TagSets-1/Tags-2]
octopusdeploy_tenant.tenant_team_a: Creating...
octopusdeploy_project.deploy_frontend_project: Creation complete after 1s [id=Projects-2]
octopusdeploy_tenant.tenant_team_a: Creation complete after 0s [id=Tenants-1]
octopusdeploy_tenant_project.team_a_frontend: Creating...
octopus_container_test_framework.go:641: server: http://localhost:32772
octopus_container_test_framework.go:642: spaceId: Spaces-4
octopus_container_test_framework.go:646: terraform apply error
octopus_container_test_framework.go:647:
Error: Provider produced inconsistent result after apply
When applying changes to octopusdeploy_tenant_project.team_a_frontend,
provider
"provider[\"registry.terraform.io/octopusdeploylabs/octopusdeploy\"]"
produced an unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-4").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
resource_tenant_test.go:115: exit status 1
--- FAIL: TestTenantsResource (3.35s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestAccTenantCommonVariableBasic
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestAccTenantCommonVariableBasic
Raw output
=== RUN TestAccTenantCommonVariableBasic
resource_tenant_common_variable_test.go:38: Step 1/2 error: Error running apply: exit status 1
Error: Provider produced inconsistent result after apply
When applying changes to
octopusdeploy_library_variable_set.test-library-variable-set, provider
"provider[\"registry.terraform.io/hashicorp/octopusdeploy\"]" produced an
unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-1").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
--- FAIL: TestAccTenantCommonVariableBasic (2.55s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestAccTenantBasic
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestAccTenantBasic
Raw output
=== RUN TestAccTenantBasic
resource_tenant_test.go:34: Step 1/2 error: Error running apply: exit status 1
Error: Provider produced inconsistent result after apply
When applying changes to octopusdeploy_tenant_project.project_environment,
provider "provider[\"registry.terraform.io/hashicorp/octopusdeploy\"]"
produced an unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-1").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
--- FAIL: TestAccTenantBasic (5.34s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestAccOctopusDeployLibraryVariableSetComplex
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestAccOctopusDeployLibraryVariableSetComplex
Raw output
=== RUN TestAccOctopusDeployLibraryVariableSetComplex
resource_library_variable_set_test.go:42: Step 1/3 error: Error running apply: exit status 1
Error: Provider produced inconsistent result after apply
When applying changes to
octopusdeploy_library_variable_set.efdyrbepyjoewljcmhhm, provider
"provider[\"registry.terraform.io/hashicorp/octopusdeploy\"]" produced an
unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-1").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
--- FAIL: TestAccOctopusDeployLibraryVariableSetComplex (1.29s)
Check failure on line 0 in junit-test-summary.xml
github-actions / Go Tests
github.com/OctopusDeploy/terraform-provider-octopusdeploy/octopusdeploy_framework ► TestTenantVariablesResource
Failed test found in:
junit-test-summary.xml
Error:
=== RUN TestTenantVariablesResource
Raw output
=== RUN TestTenantVariablesResource
octopus_container_test_framework.go:861: POPULATING TEST SPACE 61d8481bf99d48b0a307
octopus_container_test_framework.go:732: Working dir: /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy/octopusdeploy_framework
octopus_container_test_framework.go:638:
Warning: Provider development overrides are in effect
The following provider development overrides are set in the CLI
configuration:
- octopusdeploylabs/octopusdeploy in /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy
The behavior may therefore not match any released version of the provider and
applying changes may cause the state to become incompatible with published
releases.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# octopusdeploy_space.octopus_space_test will be created
+ resource "octopusdeploy_space" "octopus_space_test" {
+ description = "TestTenantVariablesResource"
+ id = (known after apply)
+ is_default = false
+ is_task_queue_stopped = false
+ name = "61d8481bf99d48b0a307"
+ slug = (known after apply)
+ space_managers_team_members = (known after apply)
+ space_managers_teams = [
+ "teams-administrators",
]
}
Plan: 1 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ octopus_space_id = (known after apply)
octopusdeploy_space.octopus_space_test: Creating...
octopusdeploy_space.octopus_space_test: Creation complete after 1s [id=Spaces-4]
Apply complete! Resources: 1 added, 0 changed, 0 destroyed.
Outputs:
octopus_space_id = "Spaces-4"
octopus_container_test_framework.go:638:
Warning: Provider development overrides are in effect
The following provider development overrides are set in the CLI
configuration:
- octopusdeploylabs/octopusdeploy in /home/runner/work/terraform-provider-octopusdeploy/terraform-provider-octopusdeploy
The behavior may therefore not match any released version of the provider and
applying changes may cause the state to become incompatible with published
releases.
data.octopusdeploy_lifecycles.lifecycle_default_lifecycle: Reading...
data.octopusdeploy_lifecycles.lifecycle_default_lifecycle: Read complete after 0s [id=Lifecycles 2024-08-16 04:59:30.462007895 +0000 UTC]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# octopusdeploy_environment.development_environment will be created
+ resource "octopusdeploy_environment" "development_environment" {
+ allow_dynamic_infrastructure = true
+ description = "A test environment"
+ id = (known after apply)
+ name = "Development"
+ slug = (known after apply)
+ sort_order = (known after apply)
+ space_id = (known after apply)
+ use_guided_failure = false
}
# octopusdeploy_environment.production_environment will be created
+ resource "octopusdeploy_environment" "production_environment" {
+ allow_dynamic_infrastructure = true
+ description = "A test environment"
+ id = (known after apply)
+ name = "Production"
+ slug = (known after apply)
+ sort_order = (known after apply)
+ space_id = (known after apply)
+ use_guided_failure = false
}
# octopusdeploy_environment.test_environment will be created
+ resource "octopusdeploy_environment" "test_environment" {
+ allow_dynamic_infrastructure = true
+ description = "A test environment"
+ id = (known after apply)
+ name = "Test"
+ slug = (known after apply)
+ sort_order = (known after apply)
+ space_id = (known after apply)
+ use_guided_failure = false
}
# octopusdeploy_library_variable_set.library_variable_set_octopus_variables will be created
+ resource "octopusdeploy_library_variable_set" "library_variable_set_octopus_variables" {
+ id = (known after apply)
+ name = "Octopus Variables"
+ template_ids = (known after apply)
+ variable_set_id = (known after apply)
# (2 unchanged attributes hidden)
+ template {
+ default_value = "a"
+ display_settings = {
+ "Octopus.ControlType" = "SingleLineText"
}
+ help_text = "a"
+ id = (known after apply)
+ label = "a"
+ name = "template"
}
}
# octopusdeploy_project.deploy_frontend_project will be created
+ resource "octopusdeploy_project" "deploy_frontend_project" {
+ auto_create_release = false
+ default_guided_failure_mode = "EnvironmentDefault"
+ default_to_skip_if_already_installed = false
+ deployment_changes_template = (known after apply)
+ deployment_process_id = (known after apply)
+ description = "Test project"
+ discrete_channel_release = false
+ id = (known after apply)
+ included_library_variable_sets = [
+ (known after apply),
]
+ is_disabled = false
+ is_discrete_channel_release = false
+ is_version_controlled = false
+ lifecycle_id = "Lifecycles-4"
+ name = "Test"
+ project_group_id = (known after apply)
+ release_notes_template = (known after apply)
+ slug = (known after apply)
+ space_id = "Spaces-4"
+ tenanted_deployment_participation = "Tenanted"
+ variable_set_id = (known after apply)
+ connectivity_policy {
+ allow_deployments_to_no_targets = false
+ exclude_unhealthy_targets = false
+ skip_machine_behavior = "SkipUnavailableMachines"
+ target_roles = (known after apply)
}
+ template {
+ default_value = "Test"
+ display_settings = {
+ "Octopus.ControlType" = "SingleLineText"
}
+ id = (known after apply)
+ label = "Test"
+ name = "Project Template Variable"
}
+ versioning_strategy {
+ template = "#{Octopus.Version.LastMajor}.#{Octopus.Version.LastMinor}.#{Octopus.Version.LastPatch}.#{Octopus.Version.NextRevision}"
}
}
# octopusdeploy_project_group.project_group_test will be created
+ resource "octopusdeploy_project_group" "project_group_test" {
+ description = "Test Description"
+ id = (known after apply)
+ name = "Test"
+ space_id = (known after apply)
}
# octopusdeploy_tenant.tenant_team_a will be created
+ resource "octopusdeploy_tenant" "tenant_team_a" {
+ description = "Test tenant"
+ id = (known after apply)
+ name = "Team A"
+ space_id = (known after apply)
+ tenant_tags = (known after apply)
# (1 unchanged attribute hidden)
}
# octopusdeploy_tenant_common_variable.tenantcommonvariable1_team_a will be created
+ resource "octopusdeploy_tenant_common_variable" "tenantcommonvariable1_team_a" {
+ id = (known after apply)
+ library_variable_set_id = (known after apply)
+ space_id = (known after apply)
+ template_id = (known after apply)
+ tenant_id = (known after apply)
+ value = (sensitive value)
}
# octopusdeploy_tenant_project.team_a_frontend will be created
+ resource "octopusdeploy_tenant_project" "team_a_frontend" {
+ environment_ids = [
+ (known after apply),
+ (known after apply),
+ (known after apply),
]
+ id = (known after apply)
+ project_id = (known after apply)
+ tenant_id = (known after apply)
# (1 unchanged attribute hidden)
}
# octopusdeploy_tenant_project_variable.tenantprojectvariable6_team_a will be created
+ resource "octopusdeploy_tenant_project_variable" "tenantprojectvariable6_team_a" {
+ environment_id = (known after apply)
+ id = (known after apply)
+ project_id = (known after apply)
+ space_id = (known after apply)
+ template_id = (known after apply)
+ tenant_id = (known after apply)
+ value = (sensitive value)
}
Plan: 10 to add, 0 to change, 0 to destroy.
Changes to Outputs:
+ octopus_space_id = "Spaces-4"
octopusdeploy_project_group.project_group_test: Creating...
octopusdeploy_environment.development_environment: Creating...
octopusdeploy_tenant.tenant_team_a: Creating...
octopusdeploy_environment.production_environment: Creating...
octopusdeploy_library_variable_set.library_variable_set_octopus_variables: Creating...
octopusdeploy_environment.test_environment: Creating...
octopusdeploy_project_group.project_group_test: Creation complete after 0s [id=ProjectGroups-6]
octopusdeploy_environment.development_environment: Creation complete after 0s [id=Environments-7]
octopusdeploy_environment.production_environment: Creation complete after 0s [id=Environments-5]
octopusdeploy_environment.test_environment: Creation complete after 0s [id=Environments-6]
octopusdeploy_tenant.tenant_team_a: Creation complete after 0s [id=Tenants-1]
octopus_container_test_framework.go:641: server: http://localhost:32772
octopus_container_test_framework.go:642: spaceId: Spaces-4
octopus_container_test_framework.go:646: terraform apply error
octopus_container_test_framework.go:647:
Error: Provider produced inconsistent result after apply
When applying changes to
octopusdeploy_library_variable_set.library_variable_set_octopus_variables,
provider
"provider[\"registry.terraform.io/octopusdeploylabs/octopusdeploy\"]"
produced an unexpected new value: .space_id: was cty.StringVal(""), but now
cty.StringVal("Spaces-4").
This is a bug in the provider, which should be reported in the provider's own
issue tracker.
resource_tenant_common_variable_test.go:197: exit status 1
--- FAIL: TestTenantVariablesResource (2.43s)