Terraform plan -detailed-exitcode no changes but plan contains diffs

Using Terraform 0.12 running a plan that uses

Initializing provider plugins...
Checking for available provider plugins...
Downloading plugin for provider "http" (hashicorp/http) 1.1.1...
Downloading plugin for provider "google" (hashicorp/google) 3.2.0...
Downloading plugin for provider "google-beta" (terraform-providers/google-beta) 2.17.0...
Downloading plugin for provider "kubernetes" (hashicorp/kubernetes) 1.10.0...
Downloading plugin for provider "null" (hashicorp/null) 2.1.2...
Downloading plugin for provider "tls" (hashicorp/tls) 2.1.1...
Downloading plugin for provider "random" (hashicorp/random) 2.2.1...
Downloading plugin for provider "template" (hashicorp/template) 2.1.2...

The plan prints

# data.google_kms_secret.keys will be read during apply
# (config refers to values not yet known)
  <= data "google_kms_secret" "keys" {
    + ciphertext = (known after apply)

And other datasources with changest ( + )

But the plan reports

Plan: 0 to add, 0 to change, 0 to destroy.

Is this there a way to ignore those datasources?

Thanks

1 Like