Skip to content

Commit

Permalink
add support for enableHistoryModifications (#1195)
Browse files Browse the repository at this point in the history
* add support for enableHistoryModifications

* fix rebase issue

* fix remaining rebase issue

* fix resources.hcl typo

* add enable_history_modifications to tfengine template
  • Loading branch information
JosieLi-Google authored Jan 26, 2024
1 parent 9564401 commit a2b11df
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/tfengine/schemas/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
| healthcare_datasets.fhir_stores.disable_referential_integrity | See <https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/healthcare_fhir_store#disable_referential_integrity>. | boolean | false | - | - |
| healthcare_datasets.fhir_stores.disable_resource_versioning | See <https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/healthcare_fhir_store#disable_resource_versioning>. | boolean | false | - | - |
| healthcare_datasets.fhir_stores.enable_history_import | See <https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/healthcare_fhir_store#enable_history_import>. | boolean | false | - | - |
| healthcare_datasets.fhir_stores.enable_history_modifications | See <https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/healthcare_fhir_store#enable_history_modifications>. | boolean | false | - | - |
| healthcare_datasets.fhir_stores.enable_update_create | See <https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/healthcare_fhir_store#enable_update_create>. | boolean | false | - | - |
| healthcare_datasets.fhir_stores.iam_members | IAM member to grant access for. | array(object) | false | - | - |
| healthcare_datasets.fhir_stores.iam_members.member | Member to grant acess to role. | string | true | - | - |
Expand Down
1 change: 1 addition & 0 deletions examples/tfengine/generated/team/project_data/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ module "healthcare_dataset" {
disable_referential_integrity = false
disable_resource_versioning = false
enable_history_import = false
enable_history_modifications = false
complex_data_type_reference_parsing = "DISABLED"
notification_configs = [
{
Expand Down
1 change: 1 addition & 0 deletions examples/tfengine/modules/team.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ template "project_data" {
disable_referential_integrity = false
disable_resource_versioning = false
enable_history_import = false
enable_history_modifications = false
complex_data_type_reference_parsing = "DISABLED"
labels = {
type = "phi"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ module "{{resourceName . "name"}}" {
{{hclField . "disable_referential_integrity" -}}
{{hclField . "disable_resource_versioning" -}}
{{hclField . "enable_history_import" -}}
{{hclField . "enable_history_modifications" -}}
{{hclField . "complex_data_type_reference_parsing" -}}

{{hclField . "iam_members" -}}
Expand Down
4 changes: 4 additions & 0 deletions templates/tfengine/recipes/resources.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -961,6 +961,10 @@ schema = {
description = "See <https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/healthcare_fhir_store#enable_history_import>."
type = "boolean"
}
enable_history_modifications = {
description = "See <https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/healthcare_fhir_store#enable_history_modifications>."
type = "boolean"
}
complex_data_type_reference_parsing = {
description = "See <https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/healthcare_fhir_store#complex_data_type_reference_parsing>."
type = "string"
Expand Down

0 comments on commit a2b11df

Please sign in to comment.