Update dataplex_datascan_full_profile.tf.erb#8700
Conversation
Add an export table
|
Hello! I am a robot. It looks like you are a: @melinath, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look. You can help make sure that review is quick by doing a self-review and by running impacted tests locally. |
Tests analyticsTotal tests: Action takenFound 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataplexDatascan_dataplexDatascanFullProfileExample|TestAccServiceAccountIamPolicy |
|
Rerun these tests in REPLAYING mode to catch issues
|
Tests analyticsTotal tests: Action takenFound 4 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccBigtableAppProfile_bigtableAppProfileAnyclusterExample|TestAccBigtableAppProfile_bigtableAppProfileMulticlusterExample|TestAccDataplexDatascan_dataplexDatascanFullProfileExample|TestAccHealthcareDatasetIamPolicy |
|
Rerun these tests in REPLAYING mode to catch issues
|
| } | ||
|
|
||
| resource "google_bigquery_dataset" "source" { | ||
| dataset_id = "dataplex_dataset_%{random_suffix}" |
There was a problem hiding this comment.
I think this should be:
| dataset_id = "dataplex_dataset_%{random_suffix}" | |
| dataset_id = "<%= ctx[:vars]['dataset_name'] %>" |
There was a problem hiding this comment.
it would be great to make the datascan_id earlier in this example also use a var - basically the reason we do it this way is so that the user-facing documentation has friendly names, but the tests use a tf-test prefix + random suffix, generated from the same example.
There was a problem hiding this comment.
Ahh i just realized that I added test to the var name as well, so it says "tf-test-test-datascan%{random_suffix}".
I think it's only for internal code, not public facing, but let me submit a commit to clean it up anyways.
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 3 files changed, 47 insertions(+), 13 deletions(-)) |
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 3 files changed, 47 insertions(+), 13 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 7 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataplexDatascan_dataplexDatascanBasicProfileExample|TestAccDataplexDatascan_dataplexDatascanFullQualityExample|TestAccDataplexDatascanIamMemberGenerated|TestAccDataplexDatascan_dataplexDatascanBasicQualityExample|TestAccDataplexDatascanIamBindingGenerated|TestAccDataplexDatascan_dataplexDatascanFullProfileExample|TestAccDataplexDatascanIamPolicyGenerated |
|
Rerun these tests in REPLAYING mode to catch issues
|
melinath
left a comment
There was a problem hiding this comment.
Getting close, just one more change probably.
|
Hi there, I'm the Modular magician. I've detected the following information about your changes: Diff reportYour PR generated some diffs in downstreams - here they are. Terraform GA: Diff ( 3 files changed, 52 insertions(+), 18 deletions(-)) |
Tests analyticsTotal tests: Action takenFound 3 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected testsTestAccDataplexDatascanIamMemberGenerated|TestAccDataplexDatascanIamBindingGenerated|TestAccDataplexDatascanIamPolicyGenerated |
|
Rerun these tests in REPLAYING mode to catch issues
|
* Update dataplex_datascan_full_profile.tf.erb Add an export table * Add env vars for export table * Fix datascan and dataset references for full datascan example. * Use a var for datascan name across all the examples. * update resource name * update resource name for IAM
* Update dataplex_datascan_full_profile.tf.erb Add an export table * Add env vars for export table * Fix datascan and dataset references for full datascan example. * Use a var for datascan name across all the examples. * update resource name * update resource name for IAM
* Update dataplex_datascan_full_profile.tf.erb Add an export table * Add env vars for export table * Fix datascan and dataset references for full datascan example. * Use a var for datascan name across all the examples. * update resource name * update resource name for IAM
Add an example using the export BigQuery table feature.
If this PR is for Terraform, I acknowledge that I have:
make testandmake lintin the generated providers to ensure it passes unit and linter tests.Release Note Template for Downstream PRs (will be copied)