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

Feature: Import mysql resources #29

Closed
Phylu opened this issue Feb 24, 2018 · 1 comment
Closed

Feature: Import mysql resources #29

Phylu opened this issue Feb 24, 2018 · 1 comment

Comments

@Phylu
Copy link
Contributor

Phylu commented Feb 24, 2018

It is not possible to import a mysql database to the terraform state. This is a feature request, enabling importing of existing databases and users. Currently it is not possible to put an existing database under the control of terraform.

Terraform Version

Terraform v0.11.3`

  • provider.mysql v1.0.1

Affected Resource(s)

  • mysql_database
  • mysql_user

Expected Behavior

Using terraform import it should be able to import an existing database into the state so that it can be managed by terraform

Actual Behavior

The import is not possimle

Steps to Reproduce

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

  1. terraform import mysql_datasabase.database database
@morganchristiansson
Copy link

morganchristiansson commented May 5, 2020

mysql_user was not added in PR that closed this issue.

There is open PR #113 to add terraform import mysql_user

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

2 participants