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

Resource: powerplatform_connection #283

Open
10 tasks
mattdot opened this issue May 7, 2024 · 1 comment
Open
10 tasks

Resource: powerplatform_connection #283

mattdot opened this issue May 7, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request resource terraform resource
Milestone

Comments

@mattdot
Copy link
Member

mattdot commented May 7, 2024

Description

Creates a connection object

Important

Creates a connection that may not be authenticated if it uses user auth. Users will need to fix the connection after deployment by manually authenticating.

Resource

Potential Terraform Configuration

# Sample Terraform config that describes how the new resource might look.

resource "example_resource" {
  connection_name = "shared_sql"
  environment_id = "####-####-##########"
  connectionParameters = {
    ...
  }
}

Important

Consider making the connectionParameters sensitive since it may contain credentials for some connectors

Definition of Done

  • Data Transfer Objects (dtos)
  • Data Client functions
  • Resource Implementation
  • Resource Added to Provider
  • Unit Tests for Happy Path
  • Unit Tests for error path
  • Acceptance Tests
  • Example in the /examples folder
  • Schema Documentation in code
  • Updated auto-generated provider docs with make docs

Contributions

Do you plan to raise a PR to address this issue? NO

See the contributing guide for more information about what's expected for contributions.

@mattdot mattdot added enhancement New feature or request resource terraform resource labels May 7, 2024
@mattdot mattdot added this to the Preview 2 milestone May 7, 2024
@mattdot mattdot changed the title Resource: Power Platform Connection Resource: powerplatform_connection May 9, 2024
@mawasile
Copy link
Contributor

The lack of exposed claims Connecivity.Connection.Read and Connectivity.Connection.Write is blocking us from getting the authentication process to function.
The way how connector JSON definition defines authentication options makes is currently very hard (if not impossible) which connection parameters are needed for which non-interactive authentication flow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request resource terraform resource
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants