Skip to content

Commit

Permalink
Fix Examples Check linting error (#13300)
Browse files Browse the repository at this point in the history
Error: Invalid resource name

  on main.tf line 40, in resource "aws_workspaces_workspace" "jhon.doe":
  40: resource "aws_workspaces_workspace" "jhon.doe" {

A name must start with a letter or underscore and may contain only letters,
digits, underscores, and dashes.
  • Loading branch information
ewbankkit authored May 13, 2020
1 parent fff1d65 commit 5e576da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/workspaces/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ data "aws_workspaces_bundle" "value_windows" {
bundle_id = "wsb-bh8rsxt14" # Value with Windows 10 (English)
}

resource "aws_workspaces_workspace" "jhon.doe" {
resource "aws_workspaces_workspace" "jhon_doe" {
directory_id = "${aws_workspaces_directory.main.id}"
bundle_id = "${data.aws_workspaces_bundle.value_windows.id}"
user_name = "jhon.doe"
Expand Down

0 comments on commit 5e576da

Please sign in to comment.