Skip to content
This repository has been archived by the owner on Jan 12, 2021. It is now read-only.

This provider does not work with GCP #60

Open
vdamianchicon opened this issue Dec 4, 2018 · 0 comments
Open

This provider does not work with GCP #60

vdamianchicon opened this issue Dec 4, 2018 · 0 comments

Comments

@vdamianchicon
Copy link

vdamianchicon commented Dec 4, 2018

Hi there,

Thank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.

Terraform Version

Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.
Terraform v0.11.10

  • provider.google v1.19.1
  • provider.google-beta v1.19.0
  • provider.mysql v1.5.0

Affected Resource(s)

Please list the resources as a list, for example:

  • mysql_user
  • mysql_user_password
  • mysql_grant

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.

Terraform Configuration Files

# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.

Debug Output

Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.

Panic Output

If Terraform produced a panic, please provide a link to a GitHub Gist containing the output of the crash.log.

Expected Behavior

What should have happened?

Actual Behavior

What actually happened?
Terraform will perform the following actions:

  • mysql_grant.userx
    id:
    database: "my-db"
    grant: "false"
    host: "localhost"
    privileges.#: "1"
    privileges.3138006342: "SELECT"
    table: "*"
    tls_option: "NONE"
    user: "mysql_user.userx.user"

  • mysql_user.userx
    id:
    host: "localhost"
    tls_option: "NONE"
    user: "userx"

  • mysql_user_password.userx
    id:
    encrypted_password:
    host: "localhost"
    key_fingerprint:
    pgp_key: "keybase:userx"
    user: "mysql_user.userx.user"

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

Error: Error applying plan:

3 error(s) occurred:

  • mysql_user_password.victor: 1 error(s) occurred:

  • mysql_user_password.victor: Could not connect to server: dial tcp: lookup localhost::3312: no such host

  • mysql_user.victor: 1 error(s) occurred:

  • mysql_user.victor: Could not connect to server: dial tcp: lookup localhost::3312: no such host

  • mysql_grant.victor: 1 error(s) occurred:

  • mysql_grant.victor: Could not connect to server: dial tcp: lookup localhost::3312: no such host

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply

Important Factoids

Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?

References

Are there any other GitHub issues (open or closed) or Pull Requests that should be linked here? For example:

  • GH-1234
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant