@@ -20,31 +20,31 @@ data "astronomer_workspace" "example" {
20
20
id = " cltj71ygr000101qafj5hhihs"
21
21
}
22
22
23
- output "data_workspace_updated_by " {
24
- value = data. astronomer_workspace . example . created_by
23
+ output "data_workspace_example " {
24
+ value = data. astronomer_workspace . example
25
25
}
26
26
27
27
resource "astronomer_workspace" "tf_workspace" {
28
- name = " tf-workspace"
28
+ name = " tf-workspace-1234 "
29
29
description = " This is a Terraform created workspace"
30
- cicd_enforced_default = true
31
- }
32
-
33
- // terraform import astronomer_workspace.imported_workspace cuid
34
- import {
35
- to = astronomer_workspace. imported_workspace
36
- id = " cltj6pn3v000001owkjx4xhuv"
37
- }
38
- resource "astronomer_workspace" "imported_workspace" {
39
- name = " imported_workspace_2"
40
- description = " hi fred"
41
30
cicd_enforced_default = false
42
31
}
32
+ #
33
+ # output "terraform_workspace" {
34
+ # value = astronomer_workspace.tf_workspace
35
+ # }
43
36
44
- output "imported_workspace_updated_by" {
45
- value = astronomer_workspace. imported_workspace . updated_by
46
- }
47
-
48
- output "imported_workspace_created_by" {
49
- value = astronomer_workspace. imported_workspace . created_by
50
- }
37
+ // terraform import astronomer_workspace.imported_workspace cuid
38
+ # import {
39
+ # to = astronomer_workspace.imported_workspace
40
+ # id = "clukf7a2p000e01oe9pup199x"
41
+ # }
42
+ # resource "astronomer_workspace" "imported_workspace" {
43
+ # name = "imported_workspace"
44
+ # description = "hi fred"
45
+ # cicd_enforced_default = false
46
+ # }
47
+ #
48
+ # output "imported_workspace" {
49
+ # value = astronomer_workspace.imported_workspace
50
+ # }
0 commit comments