Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_healthcare_service - support for identity and configuration_export_storage_account_name properties #25193

Merged

Conversation

Khayoann2
Copy link
Contributor

@Khayoann2 Khayoann2 commented Mar 9, 2024

I was unable to fully set up a new healthcare service project because some mandatory information needed to be provided. So I thought to myself, let’s try to contribute.

To be honest, i'm more a devops engineer than a developer so be aware to contribute and challenge me if i miss something...

@Khayoann2 Khayoann2 changed the title azurerm_healthcare_service - Add support of export storage account and identity (system Assigned azurerm_healthcare_service - Add support of export storage account and identity (system Assigned) Mar 9, 2024
@Khayoann2 Khayoann2 marked this pull request as ready for review March 10, 2024 08:21
@cedrox
Copy link

cedrox commented Mar 11, 2024

Thanks for tackling this. Do we have an ETA for the availability ?

@Khayoann2
Copy link
Contributor Author

Thanks for tackling this. Do we have an ETA for the availability ?

Hope that a maintainer will take my PR soon 👌🤞

Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there is a test failure:

Test ended in panic.

------- Stdout: -------
=== RUN   TestAccHealthCareServiceDataSource_basic
=== PAUSE TestAccHealthCareServiceDataSource_basic
=== CONT  TestAccHealthCareServiceDataSource_basic

------- Stderr: -------
panic: identity: '': source data must be an array or slice, got struct

goroutine 412 [running]:
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).Set(0xc00287f280, {0x8a58322, 0x8}, {0x8036140, 0xc003abf620})
	/opt/teamcity-agent/work/3337027aeff310bf/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource_data.go:233 +0x2b5
github.com/hashicorp/terraform-provider-azurerm/internal/services/healthcare.resourceHealthcareServiceRead(0xc00287f280, {0x7a6be80?, 0xc004926480?})

@Khayoann2
Copy link
Contributor Author

Khayoann2 commented Mar 12, 2024

Looks like there is a test failure:

Test ended in panic.

------- Stdout: -------
=== RUN   TestAccHealthCareServiceDataSource_basic
=== PAUSE TestAccHealthCareServiceDataSource_basic
=== CONT  TestAccHealthCareServiceDataSource_basic

------- Stderr: -------
panic: identity: '': source data must be an array or slice, got struct

goroutine 412 [running]:
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).Set(0xc00287f280, {0x8a58322, 0x8}, {0x8036140, 0xc003abf620})
	/opt/teamcity-agent/work/3337027aeff310bf/vendor/github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema/resource_data.go:233 +0x2b5
github.com/hashicorp/terraform-provider-azurerm/internal/services/healthcare.resourceHealthcareServiceRead(0xc00287f280, {0x7a6be80?, 0xc004926480?})

Fix has been pushed and this issue is now solved.
Thank you @katbyte

@Khayoann2
Copy link
Contributor Author

I detected another issue. i will push another fix

@Khayoann2
Copy link
Contributor Author

Now everything is green on my side
@katbyte

@Khayoann2
Copy link
Contributor Author

@katbyte Could you take a look, please ? 👍

@Khayoann2
Copy link
Contributor Author

I don't know what i can do to make it merged 😢
Is there anything remaining on my side ? because i'm a little bit confused ...

Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Khayoann2 ! LGTM 🏥

@katbyte katbyte merged commit 3f6276a into hashicorp:main Mar 21, 2024
33 checks passed
@katbyte katbyte changed the title azurerm_healthcare_service - Add support of export storage account and identity (system Assigned) azurerm_healthcare_service - support for identity and configuration_export_storage_account_name properties Mar 21, 2024
@github-actions github-actions bot added this to the v3.97.0 milestone Mar 21, 2024
katbyte added a commit that referenced this pull request Mar 21, 2024
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for azurerm_healthcare_service : configuration_export_storage_account_name
3 participants