Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domain starting with number generate terraform error #1

Closed
dopch opened this issue Sep 12, 2022 · 1 comment
Closed

Domain starting with number generate terraform error #1

dopch opened this issue Sep 12, 2022 · 1 comment
Assignees

Comments

@dopch
Copy link
Owner

dopch commented Sep 12, 2022

Terraform resources need to start with a letter or _ not a number

terraform import 'gandi_livedns_record.1984_com["apex_a"]' "1984.com/@/A"


│ Error: Attribute name required

│ on line 1:
│ 1: gandi_livedns_record.1984_com["apex_a"]

│ Dot must be followed by attribute name.


│ Error: Invalid resource name

│ on 1984.com.tf line 708, in resource "gandi_livedns_record" "1984_com":
│ 708: resource "gandi_livedns_record" "1984_com_" {

│ A name must start with a letter or underscore and may contain only letters, digits, underscores, and dashes.

For information on valid syntax, see:
https://www.terraform.io/docs/cli/state/resource-addressing.html

Patch is ready

@dopch
Copy link
Owner Author

dopch commented Sep 12, 2022

1e1b7bc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant