-
Notifications
You must be signed in to change notification settings - Fork 9
Add test_engine connections #124
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
base: main
Are you sure you want to change the base?
Add test_engine connections #124
Conversation
…microsoft/power-platform-terraform-quickstarts into mawasile/coe-kit-iac-quickstart
* Review edits * Update pwsh * Adding environment variable
@Grant-Archibald-MS Thank you for your contributions, I will take a look.! |
Signed-off-by: mawasile <50197777+mawasile@users.noreply.github.com>
} | ||
|
||
|
||
//TODO add comment expalining where that came from and how to update it if you need new connections referenced going into your new released solution |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we remove this TODO comment?
} | ||
} | ||
|
||
//TODO: If not build from source use "pac test run" to execute the the testPlan to create required connections |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this comment should be in readme file?
@@ -0,0 +1,25 @@ | |||
resource "null_resource" "build_from_source" { | |||
#count = var.parameters.release.build_from_source && !var.parameters.release.connections_exist ? 1 : 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shoudn't this be uncommented?
solution_name = "CreatorKitCore" | ||
} | ||
|
||
module "create_connections" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this module executes every time, but it should execute only when connection creation mode is set to test_engine
. And it does not build using dontnet in linux container
core_components_parameters = { | ||
admin_admine_mail_preferred_language = "en-US", | ||
admin_admin_mail = "admin@contoso.com", | ||
admin_app_connections_dataflow_id = "", //empty for import //what is that? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we add comments explaining those parameters? Otherwise we should remove those comments completly
- Removed unused files and directories - Added variables for DLP policy creation - Updated main.tf to include DLP policy module - Updated readme.md with Linux commands
…tions Adding missing features
…coe-kit-connections
As part of installation and automation of the CoE Kit active connections are required to enable cloud flows required for the setup and upgrade wizard.
The contribution adds a new sample terraform module that enables connections to be created using the Power Apps Portal to create interactive connections using Test Engine. The terraform module makes use of the generated connections.json file to update the solution settings used as part of solution import so that the connection references are connected to the supplied connection ids.
When imported with active connections that required Power Automate Cloud flows are enabled yb default so that the setup and upgrade wizard works as expected.
When the CoE Kit is imported without connections or with invalid connections the cloud flows will not be enabled and manual intervention is required to fix the connections and enable the required cloud flows to enable correct operation of the wizard steps.