User Story
As a Terraform user, I want to manage On-Prem Data Gateway through Terraform.
Use case:
- Configure On-Prem Data Gateway Settings and Users
- There is already an option within fabric provider, should we use the fabric provider or should this be part of this provider as well? Are there any future plans if this should be done within Power BI or Power Platform Admin Center?
https://registry.terraform.io/providers/microsoft/fabric/latest/docs/resources/gateway
https://learn.microsoft.com/en-us/power-bi/guidance/powerbi-implementation-planning-data-gateways
Resource
- Resource Name:
powerplatform_[your resource name]
- Service Name:
[service name]
- Documentation Link:
Potential Terraform Configuration
# Sample Terraform config that describes how the new resource might look.
resource "example_resource" {
name = "example" # required
parameter1 = "value1"
enabled = false
items = toset([
{
name = "item name" # required, must be 3 characters or more
}
])
}
Additional Validation Rules
API documentation
| Action |
Verb |
URL |
Status Codes |
Comments |
| Create |
POST |
/api/v1/resources |
201 |
|
| Read |
GET |
/api/v1/resources/{id} |
200 |
|
| Update |
PUT |
/api/v1/resources/{id} |
200 |
|
| Delete |
DELETE |
/api/v1/resources/{id} |
204 |
|
JSON
Definition of Done
See the contributing guide for more information about what's expected for contributions.
User Story
As a Terraform user, I want to manage On-Prem Data Gateway through Terraform.
Use case:
https://registry.terraform.io/providers/microsoft/fabric/latest/docs/resources/gateway
https://learn.microsoft.com/en-us/power-bi/guidance/powerbi-implementation-planning-data-gateways
Resource
powerplatform_[your resource name][service name]Potential Terraform Configuration
Additional Validation Rules
API documentation
JSON
{}Definition of Done
dto.gomodel.goapi_{name}.goresource_{name}.goresource_{name}_test.gofor Happy Path, Error conditions, boundry casesresource_{name}_test.gofor Happy Pathprovider.goandprovider_test.go/examplesfolderMarkdownDescriptionchangie new -k addedmake precommitbefore PRSee the contributing guide for more information about what's expected for contributions.