-
Notifications
You must be signed in to change notification settings - Fork 30
Flesh out secure_compute_network data source #325
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
base: main
Are you sure you want to change the base?
Flesh out secure_compute_network data source #325
Conversation
This will be useful in the future for getting the ID of a network and being able to associate it with projects. Plus, there may be use-cases where getting the AWS IDs, or regions, etc. is useful.
Computed: true, | ||
}, | ||
"elastic_ip_addresses": schema.SetAttribute{ | ||
Description: "A list of Elastic IP addresses.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description: "A list of Elastic IP addresses.", | |
Description: "A list of Public IP addresses.", |
Also, we should move this out of the AWS struct.
"lambda_role_arn": schema.StringAttribute{ | ||
Description: "The ARN of the Lambda role.", | ||
Computed: true, | ||
}, | ||
"security_group_id": schema.StringAttribute{ | ||
Description: "The ID of the security group.", | ||
Computed: true, | ||
}, | ||
"stack_id": schema.StringAttribute{ | ||
Description: "The ID of the CloudFormation stack.", | ||
Computed: true, | ||
}, | ||
"subnet_ids": schema.SetAttribute{ | ||
Description: "A list of subnet IDs.", | ||
Computed: true, | ||
ElementType: types.StringType, | ||
}, | ||
"subscription_arn": schema.StringAttribute{ | ||
Description: "The ARN of the subscription.", | ||
Computed: true, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should actually remove the disclosure of these properties from the API, they're not sensitive, but also not useful to the customer.
"lambda_role_arn": schema.StringAttribute{ | |
Description: "The ARN of the Lambda role.", | |
Computed: true, | |
}, | |
"security_group_id": schema.StringAttribute{ | |
Description: "The ID of the security group.", | |
Computed: true, | |
}, | |
"stack_id": schema.StringAttribute{ | |
Description: "The ID of the CloudFormation stack.", | |
Computed: true, | |
}, | |
"subnet_ids": schema.SetAttribute{ | |
Description: "A list of subnet IDs.", | |
Computed: true, | |
ElementType: types.StringType, | |
}, | |
"subscription_arn": schema.StringAttribute{ | |
Description: "The ARN of the subscription.", | |
Computed: true, | |
}, |
"availability_zone_ids": schema.SetAttribute{ | ||
Description: "A set of AWS Availability Zone IDs where the Secure Compute Network resources are deployed.", | ||
Computed: true, | ||
ElementType: types.StringType, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be in the AWS struct.
This will be useful in the future for getting the ID of a network and
being able to associate it with projects.
Plus, there may be use-cases where getting the AWS IDs, or regions, etc.
is useful.