terraform/builtin/providers
Paul Stack e336d4e00b provider/aws: Set aws_autoscaling_policy metric_aggregation_type to be (#10904)
Computed

Fixes: #10887

In the Terraform documentation, we say the following:

```
metric_aggregation_type - (Optional) The aggregation type for the policy's metrics. Valid values are "Minimum", "Maximum", and "Average". Without a value, AWS will treat the aggregation type as "Average".
```

Therefore, because the parameter wasn't set as computed, we got a diff as follows:

```
~ aws_autoscaling_policy.scale
    metric_aggregation_type: "Average" => ""
```

With the change in place, we get the correct behaviour

```
% terraform plan
[WARN] /Users/stacko/Code/go/bin/terraform-provider-aws overrides an internal plugin for aws-provider.
  If you did not expect to see this message you will need to remove the old plugin.
  See https://www.terraform.io/docs/internals/internal-plugins.html
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but
will not be persisted to local or remote state storage.

aws_launch_configuration.launch: Refreshing state... (ID: config)
aws_autoscaling_group.asg: Refreshing state... (ID: asg)
aws_autoscaling_policy.scale: Refreshing state... (ID: scale)

No changes. Infrastructure is up-to-date. This means that Terraform
could not detect any differences between your configuration and
the real physical resources that exist. As a result, Terraform
doesn't need to do anything.
```
2016-12-28 23:30:43 +00:00
..
archive provider/archive: Test that archive_file hashes seem plausible 2016-12-24 11:52:17 -08:00
atlas
aws provider/aws: Set aws_autoscaling_policy metric_aggregation_type to be (#10904) 2016-12-28 23:30:43 +00:00
azure
azurerm provider/azurerm: Event Hubs Consumer Groups (#9902) 2016-12-28 23:12:47 +00:00
bitbucket
chef
clc
cloudflare
cloudstack provider/cloudstack: add support for multiple NICs with port forwards and set network_domain for networks (#10638) 2016-12-12 10:06:42 +01:00
cobbler
consul
datadog provider/datadog 9869: Validate credentials when initialising client. (#10567) 2016-12-08 11:17:42 +01:00
digitalocean provider/digitalocean: Removal of an old test that was causing the CI acceptance tests to hang 2016-12-12 17:11:20 +00:00
dme [WIP] provider/azurerm: Bump sdk version to 7.0.1 (#10458) 2016-12-06 08:39:47 +00:00
dnsimple
docker provider/docker: fix regression, cert_path stop working (#10754) (#10801) 2016-12-17 12:41:08 +00:00
dyn
external "external" data source, for integrating with external programs (#8768) 2016-12-05 17:24:57 +00:00
fastly provider/fastly add origin shielding (#10677) 2016-12-12 22:17:35 +00:00
github provider/github: supports importing resources (#10382) 2016-11-28 17:30:24 +00:00
google Use node_version during google_container_cluster creation (#10817) 2016-12-18 13:50:46 +00:00
grafana
heroku
icinga2 Initial check in for Icinga2 Provider/Resource (#8306) 2016-12-12 15:28:26 +00:00
influxdb
librato
logentries
mailgun
mysql
newrelic provider/newrelic: Add new provider for New Relic 2016-12-15 19:14:59 +00:00
nomad
null
openstack provider/openstack: Acceptance Test Cleanup: Provider & Block Storage (#10839) 2016-12-28 16:56:49 +00:00
packet
pagerduty provider/pagerduty Add delete support to pagerduty_service_integration (#10891) 2016-12-24 14:43:06 +00:00
postgresql Fix a few small grammar nits. 2016-12-27 15:50:25 -08:00
powerdns
rabbitmq
rancher [Provider] Rancher (#9173) 2016-12-05 15:29:41 +00:00
random
rundeck Improving Rundeck provider: scheduler (#9449) 2016-12-13 12:00:53 +00:00
scaleway
softlayer
statuscake provider/statuscake: fix StatusCake tests (#10660) 2016-12-11 19:41:49 +00:00
template providers/template: disallow file paths in `template` 2016-11-22 10:23:58 -08:00
terraform
test Add a provider test for a list of maps 2016-12-16 10:36:26 -05:00
tls
triton
ultradns ultradns providers and improvements (#9788) 2016-12-15 16:28:34 +00:00
vault
vcd
vsphere