mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-08 15:13:56 -06:00
providers/aws: fix placement group import
This commit is contained in:
parent
dc3163c464
commit
f64f470807
@ -88,7 +88,7 @@ func resourceAwsPlacementGroupCreate(d *schema.ResourceData, meta interface{}) e
|
||||
func resourceAwsPlacementGroupRead(d *schema.ResourceData, meta interface{}) error {
|
||||
conn := meta.(*AWSClient).ec2conn
|
||||
input := ec2.DescribePlacementGroupsInput{
|
||||
GroupNames: []*string{aws.String(d.Get("name").(string))},
|
||||
GroupNames: []*string{aws.String(d.Id())},
|
||||
}
|
||||
out, err := conn.DescribePlacementGroups(&input)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user