You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am getting the following error when trying to run the Dynatrace Config Manager (DTCM):
│ Error: Insufficient query_parameters blocks
│
│ on modules\url_based_sampling\environment.url_based_sampling.tf line 2, in resource "dynatrace_url_based_sampling" "environment":
│ 2: resource "dynatrace_url_based_sampling" "environment" {
│
│ At least 1 "query_parameters" blocks are required.
Query parameters are optional for URL-based sampling so it should work without it.
To Reproduce
Make sure there is a URL-based sampling rule in one of your environments without a query parameter
Run the DTCM as normal with this environment as one of your selected tenants (extract configs/entities, execute OneTopology & TerraComposer)
On the Execute OneTopology & TerraComposer step you should see an error in your console
TerraComposer - step 9/9 - Terraform Plan All
Deleting old overall directory: C:/Dynatrace Config Manager v1.4.14/data/work/0-1/overall
Terraform Plan All running, see C:/Dynatrace Config Manager v1.4.14/data/work/0-1/terraform/history/complete/2024-04-30_18-20-30/2024-04-30_18-21-22_plan_all.log
The command ['terraform', 'plan', '-lock=false', '-parallelism=10', '-out=./2024-04-30_18-20-30_complete.plan', '>NUL', '>', 'C:/Dynatrace Config Manager v1.4.14/data/work/0-1/terraform/history/complete/2024-04-30_18-20-30/2024-04-30_18-21-22_plan_all.log', '2>&1'] failed with error code 1
\TerraComposer - step 10/9 - extra step - Terraform Plan All for Omit Destroy
Terraform Plan All post omit destroy running, see C:/Dynatrace Config Manager v1.4.14/data/work/0-1/terraform/history/complete/2024-04-30_18-20-30/2024-04-30_18-21-29_plan_all_post_omit_destroy.log
The command ['terraform', 'plan', '-lock=false', '-parallelism=10', '-out=./2024-04-30_18-20-30_complete.plan', '>NUL', '>', 'C:/Dynatrace Config Manager v1.4.14/data/work/0-1/terraform/history/complete/2024-04-30_18-20-30/2024-04-30_18-21-29_plan_all_post_omit_destroy.log', '2>&1'] failed with error code 1
If you navigate to the Manage Configs tab you should see a similar screen as below with missing modules and some errors
The error at the top (Insufficient query_parameters blocks) can be found in the plan_all_post_omit_destroy_cleaned.log and plan_all_cleaned.log files under <DTCM>\data\work\<tenant_numbers>\terraform\history\complete\<latest>
Expected behavior
The TerraComposer should be able to run successfully without requiring a query parameter for the URL-based sampling ruels
Screenshots
Attached above
Desktop:
OS: Windows 11
Browser Chrome
The text was updated successfully, but these errors were encountered:
Describe the bug
I am getting the following error when trying to run the Dynatrace Config Manager (DTCM):
Query parameters are optional for URL-based sampling so it should work without it.
To Reproduce
Expected behavior
The TerraComposer should be able to run successfully without requiring a query parameter for the URL-based sampling ruels
Screenshots
Attached above
Desktop:
The text was updated successfully, but these errors were encountered: