providers/aws: no update for launch configuration
This commit is contained in:
parent
1d6dc475df
commit
0d4fdfc6fd
|
@ -74,13 +74,9 @@ func resource_aws_launch_configuration_update(
|
||||||
s *terraform.ResourceState,
|
s *terraform.ResourceState,
|
||||||
d *terraform.ResourceDiff,
|
d *terraform.ResourceDiff,
|
||||||
meta interface{}) (*terraform.ResourceState, error) {
|
meta interface{}) (*terraform.ResourceState, error) {
|
||||||
|
panic("Update for AWS Launch Configuration is not supported")
|
||||||
|
|
||||||
rs := s.MergeDiff(d)
|
return nil, nil
|
||||||
log.Printf("ResourceDiff: %s", d)
|
|
||||||
log.Printf("ResourceState: %s", s)
|
|
||||||
log.Printf("Merged: %s", rs)
|
|
||||||
|
|
||||||
return nil, fmt.Errorf("Did not update")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func resource_aws_launch_configuration_destroy(
|
func resource_aws_launch_configuration_destroy(
|
||||||
|
|
Loading…
Reference in New Issue