File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -398,10 +398,10 @@ EOF
398398 if [[ -f " ${full_module_dir} /versions.tf" ]]; then
399399 cp " ${full_module_dir} /versions.tf" " ${output_dir} /versions.tf"
400400 # Don't propagate redundant `provider_meta` user-agent attrs (#954).
401- hcledit attribute rm " terraform.provider_meta. ${module_repo_provider} .user_agent " \
402- -f " ${output_dir} /versions.tf" -u
403- hcledit attribute rm " terraform.provider_meta. ${module_repo_provider} .module_name " \
404- -f " ${output_dir} /versions.tf" -u
401+ # sepcific to aws cloud only
402+ hcledit attribute rm " terraform.provider_meta. ${module_repo_provider} .user_agent " -f " ${output_dir} /versions.tf" -u
403+ # specific to gcp cloud only
404+ hcledit attribute rm " terraform.provider_meta. ${module_repo_provider} .module_name " -f " ${output_dir} /versions.tf" -u
405405 else
406406 echo " $CONTENT_VERSIONS_TF " > " ${output_dir} /versions.tf"
407407 fi
You can’t perform that action at this time.
0 commit comments