terraform/builtin/providers/aws
Paul Stack de6b51f8f9 provider/aws: Refresh aws_autoscaling_schedule from state on 404 (#9659)
Fixes #9654

Before the fix, I created an ASG with a schedule on it. Went to the AWS
console and deleted the schedule. A terraform plan looked as follows:

```
% terraform plan
    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.foobar: Refreshing state... (ID:
    terraform-test-foobar5)
    aws_autoscaling_group.foobar: Refreshing state... (ID:
    terraform-test-foobar5)
    aws_autoscaling_schedule.foobar: Refreshing state... (ID: foobar)
    Error refreshing state: 1 error(s) occurred:

    * aws_autoscaling_schedule.foobar: Unable to find Autoscaling
    * Scheduled Action: []*autoscaling.ScheduledUpdateGroupAction(nil)
```

After the fix:

```
terraform plan                                                                                                                           1 ↵
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.foobar: Refreshing state... (ID: terraform-test-foobar5)
aws_autoscaling_group.foobar: Refreshing state... (ID: terraform-test-foobar5)
aws_autoscaling_schedule.foobar: Refreshing state... (ID: foobar)

The Terraform execution plan has been generated and is shown below.
Resources are shown in alphabetical order for quick scanning. Green resources
will be created (or destroyed and then created if an existing resource
exists), yellow resources are being changed in-place, and red resources
will be destroyed. Cyan entries are data sources to be read.

Note: You didn't specify an "-out" parameter to save this plan, so when
"apply" is called, Terraform can't guarantee this is what will execute.

+ aws_autoscaling_schedule.foobar
    arn:                    "<computed>"
    autoscaling_group_name: "terraform-test-foobar5"
    desired_capacity:       "0"
    end_time:               "2018-01-16T13:00:00Z"
    max_size:               "0"
    min_size:               "0"
    recurrence:             "<computed>"
    scheduled_action_name:  "foobar"
    start_time:             "2018-01-16T07:00:00Z"

Plan: 1 to add, 0 to change, 0 to destroy.
```

Tests run as expected:

```
% make testacc TEST=./builtin/providers/aws TESTARGS='-run=TestAccAWSAutoscalingSchedule_'                                               2 ↵ ✹
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2016/10/27 17:45:19 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/aws -v -run=TestAccAWSAutoscalingSchedule_ -timeout 120m
=== RUN   TestAccAWSAutoscalingSchedule_basic
--- PASS: TestAccAWSAutoscalingSchedule_basic (140.94s)
=== RUN   TestAccAWSAutoscalingSchedule_disappears
--- PASS: TestAccAWSAutoscalingSchedule_disappears (179.17s)
=== RUN   TestAccAWSAutoscalingSchedule_recurrence
--- PASS: TestAccAWSAutoscalingSchedule_recurrence (186.72s)
=== RUN   TestAccAWSAutoscalingSchedule_zeroValues
--- PASS: TestAccAWSAutoscalingSchedule_zeroValues (167.73s)
PASS
ok	github.com/hashicorp/terraform/builtin/providers/aws	674.530s
```
2016-10-27 18:39:15 +01:00
..
test-fixtures basic emr implementation 2016-10-05 14:30:16 -05:00
auth_helpers.go Parse AWS partition from ARN. 2016-10-07 00:08:30 -04:00
auth_helpers_test.go Parse AWS partition from ARN. 2016-10-07 00:08:30 -04:00
autoscaling_tags.go
autoscaling_tags_test.go
awserr.go
cloudfront_distribution_configuration_structure.go provider/aws: Add support for tags to aws_cloudfront_distribution 2016-09-28 13:18:41 +01:00
cloudfront_distribution_configuration_structure_test.go provider/aws: Add query_string_cache_keys to aws_cloudfront_distribution 2016-09-23 13:11:05 +01:00
config.go Add support for AWS US East (Ohio) region. 2016-10-17 15:48:18 -05:00
core_acceptance_test.go
data_source_aws_ami.go provider/aws: Validate regular expression passed via the `name_regex` attribute. (#9622) 2016-10-26 12:09:14 +01:00
data_source_aws_ami_test.go provider/aws: Validate regular expression passed via the `name_regex` attribute. (#9622) 2016-10-26 12:09:14 +01:00
data_source_aws_availability_zone.go provider/aws: availability zone data source 2016-09-24 15:19:33 -07:00
data_source_aws_availability_zone_test.go provider/aws: availability zone data source 2016-09-24 15:19:33 -07:00
data_source_aws_availability_zones.go Rename the file to match the naming scheme. 2016-10-19 16:34:35 +01:00
data_source_aws_availability_zones_test.go Rename the file to match the naming scheme. 2016-10-19 16:34:35 +01:00
data_source_aws_billing_service_account.go
data_source_aws_billing_service_account_test.go
data_source_aws_caller_identity.go
data_source_aws_caller_identity_test.go
data_source_aws_cloudformation_stack.go
data_source_aws_cloudformation_stack_test.go
data_source_aws_ecs_container_definition.go
data_source_aws_ecs_container_definition_test.go
data_source_aws_elb_service_account.go aws: Add missing metadata for us-east-2 2016-10-18 09:31:57 +01:00
data_source_aws_elb_service_account_test.go
data_source_aws_iam_policy_document.go
data_source_aws_iam_policy_document_test.go
data_source_aws_ip_ranges.go
data_source_aws_ip_ranges_test.go
data_source_aws_prefix_list.go provider/aws: Data source to provides details about a specific AWS prefix list (#9566) 2016-10-27 14:58:24 +01:00
data_source_aws_prefix_list_test.go provider/aws: Data source to provides details about a specific AWS prefix list (#9566) 2016-10-27 14:58:24 +01:00
data_source_aws_redshift_service_account.go aws: Add missing metadata for us-east-2 2016-10-18 09:31:57 +01:00
data_source_aws_redshift_service_account_test.go
data_source_aws_region.go provider/aws: aws_region data source 2016-09-24 15:19:33 -07:00
data_source_aws_region_test.go provider/aws: aws_region data source 2016-09-24 15:19:33 -07:00
data_source_aws_s3_bucket_object.go
data_source_aws_s3_bucket_object_test.go
data_source_aws_security_group.go provider/aws: data source for AWS Security Group (#9604) 2016-10-27 18:17:58 +01:00
data_source_aws_security_group_test.go provider/aws: data source for AWS Security Group (#9604) 2016-10-27 18:17:58 +01:00
data_source_aws_subnet.go provider/aws: aws_subnet data source 2016-09-24 15:19:33 -07:00
data_source_aws_subnet_test.go provider/aws: aws_subnet data source 2016-09-24 15:19:33 -07:00
data_source_aws_vpc.go provider/aws: aws_vpc data source 2016-09-24 15:19:33 -07:00
data_source_aws_vpc_test.go provider/aws: aws_vpc data source 2016-09-24 15:19:33 -07:00
diff_suppress_funcs.go
ec2_filters.go Make buildEC2AttributeFilterList output sorted 2016-10-14 12:22:45 -04:00
ec2_filters_test.go Make buildEC2AttributeFilterList output sorted 2016-10-14 12:22:45 -04:00
hosted_zones.go aws: Add missing metadata for us-east-2 2016-10-18 09:31:57 +01:00
hosted_zones_test.go
iam_policy_model.go
import_aws_api_gateway_account_test.go
import_aws_api_gateway_key_test.go
import_aws_autoscaling_group_test.go
import_aws_cloudfront_distribution.go
import_aws_cloudfront_distribution_test.go Made import and base s3origin tests more independent, by supplying different random ints to each of their test runs 2016-10-03 15:11:46 -07:00
import_aws_cloudfront_origin_access_identity_test.go
import_aws_cloudtrail_test.go
import_aws_cloudwatch_event_rule_test.go
import_aws_cloudwatch_log_group_test.go
import_aws_cloudwatch_metric_alarm_test.go
import_aws_customer_gateway_test.go
import_aws_db_event_subscription_test.go provider/aws: Import aws_db_event_subscription 2016-10-04 15:24:30 -06:00
import_aws_db_instance_test.go
import_aws_db_option_group_test.go
import_aws_db_parameter_group_group_test.go
import_aws_db_security_group_test.go
import_aws_db_subnet_group_test.go
import_aws_dynamodb_table_test.go
import_aws_ebs_volume_test.go
import_aws_ecr_repository_test.go
import_aws_efs_file_system_test.go
import_aws_efs_mount_target_test.go
import_aws_elastic_beanstalk_application_test.go
import_aws_elastic_beanstalk_environment_test.go
import_aws_elasticache_cluster_test.go provider/aws: Support Import of aws_elasticache_cluster 2016-09-28 12:29:20 +01:00
import_aws_elasticache_parameter_group_test.go
import_aws_elasticache_replication_group_test.go provider/aws: Support Import of AWS elasticache_replication_groups 2016-10-03 16:52:29 +01:00
import_aws_elasticache_subnet_group_test.go
import_aws_elb_test.go
import_aws_flow_log_test.go
import_aws_glacier_vault_test.go
import_aws_iam_account_password_policy_test.go
import_aws_iam_group_test.go
import_aws_iam_saml_provider_test.go
import_aws_iam_user_test.go provider/aws: Tidy up IAM user acc tests 2016-10-19 09:22:27 -05:00
import_aws_instance_test.go
import_aws_internet_gateway_test.go
import_aws_key_pair_test.go
import_aws_kms_key_test.go
import_aws_lambda_function_test.go
import_aws_launch_configuration_test.go
import_aws_nat_gateway_test.go
import_aws_network_acl.go
import_aws_network_acl_test.go
import_aws_network_interface_test.go
import_aws_opsworks_custom_layer_test.go Add ability to import AWS OpsWorks Custom Layers 2016-10-07 11:57:11 +01:00
import_aws_opsworks_stack_test.go provider/aws: Rename the Import aws_opsworks_stack import test 2016-10-03 16:45:02 +01:00
import_aws_placement_group_test.go
import_aws_rds_cluster_instance_test.go
import_aws_rds_cluster_parameter_group_test.go
import_aws_rds_cluster_test.go
import_aws_redshift_cluster_test.go
import_aws_redshift_parameter_group_test.go
import_aws_redshift_security_group_test.go
import_aws_redshift_subnet_group_test.go
import_aws_route53_delegation_set_test.go
import_aws_route53_health_check_test.go
import_aws_route53_zone_test.go
import_aws_route_table.go
import_aws_route_table_test.go
import_aws_s3_bucket.go
import_aws_s3_bucket_notification_test.go
import_aws_s3_bucket_test.go
import_aws_security_group.go
import_aws_security_group_test.go
import_aws_ses_receipt_filter_test.go
import_aws_ses_receipt_rule_set_test.go
import_aws_simpledb_domain_test.go
import_aws_sns_topic_subscription_test.go
import_aws_sns_topic_test.go
import_aws_spot_datafeed_subscription_test.go
import_aws_sqs_queue_test.go
import_aws_subnet_test.go
import_aws_vpc_dhcp_options_test.go
import_aws_vpc_endpoint_test.go
import_aws_vpc_peering_connection_test.go
import_aws_vpc_test.go
import_aws_vpn_connection_test.go
import_aws_vpn_gateway_test.go
network_acl_entry.go give security groups their own sgProtocolIntegers methodw 2016-09-30 15:45:25 -05:00
network_acl_entry_test.go
opsworks_layers.go Add ability to import AWS OpsWorks Custom Layers 2016-10-07 11:57:11 +01:00
provider.go provider/aws: data source for AWS Security Group (#9604) 2016-10-27 18:17:58 +01:00
provider_test.go
resource_aws_alb.go provider/aws: Fixing the acceptance test for ALB AccessLogs Enabling 2016-10-27 12:12:00 +01:00
resource_aws_alb_listener.go
resource_aws_alb_listener_rule.go
resource_aws_alb_listener_rule_test.go
resource_aws_alb_listener_test.go
resource_aws_alb_target_group.go provider/aws: VPC ID, Port, Protocol and Name change on 2016-09-22 17:12:39 +01:00
resource_aws_alb_target_group_attachment.go
resource_aws_alb_target_group_attachment_test.go
resource_aws_alb_target_group_test.go provider/aws: VPC ID, Port, Protocol and Name change on 2016-09-22 17:12:39 +01:00
resource_aws_alb_test.go provider/aws: Fixing the acceptance test for ALB AccessLogs Enabling 2016-10-27 12:12:00 +01:00
resource_aws_ami.go
resource_aws_ami_copy.go
resource_aws_ami_copy_test.go
resource_aws_ami_from_instance.go
resource_aws_ami_from_instance_test.go
resource_aws_ami_launch_permission.go
resource_aws_ami_launch_permission_test.go
resource_aws_ami_test.go
resource_aws_api_gateway_account.go
resource_aws_api_gateway_account_test.go
resource_aws_api_gateway_api_key.go
resource_aws_api_gateway_api_key_test.go
resource_aws_api_gateway_authorizer.go
resource_aws_api_gateway_authorizer_test.go
resource_aws_api_gateway_base_path_mapping.go
resource_aws_api_gateway_base_path_mapping_test.go
resource_aws_api_gateway_client_certificate.go
resource_aws_api_gateway_client_certificate_test.go
resource_aws_api_gateway_deployment.go
resource_aws_api_gateway_deployment_test.go
resource_aws_api_gateway_domain_name.go Exposed aws_api_gw_domain_name.certificate_upload_date attribute (#9533) 2016-10-25 16:07:08 +01:00
resource_aws_api_gateway_domain_name_test.go Exposed aws_api_gw_domain_name.certificate_upload_date attribute (#9533) 2016-10-25 16:07:08 +01:00
resource_aws_api_gateway_integration.go Extract integration type validator 2016-10-04 12:51:18 -04:00
resource_aws_api_gateway_integration_response.go
resource_aws_api_gateway_integration_response_test.go
resource_aws_api_gateway_integration_test.go
resource_aws_api_gateway_method.go
resource_aws_api_gateway_method_response.go
resource_aws_api_gateway_method_response_test.go
resource_aws_api_gateway_method_test.go
resource_aws_api_gateway_model.go
resource_aws_api_gateway_model_test.go
resource_aws_api_gateway_resource.go
resource_aws_api_gateway_resource_test.go
resource_aws_api_gateway_rest_api.go
resource_aws_api_gateway_rest_api_test.go
resource_aws_app_cookie_stickiness_policy.go
resource_aws_app_cookie_stickiness_policy_test.go
resource_aws_appautoscaling_policy.go
resource_aws_appautoscaling_policy_test.go
resource_aws_appautoscaling_target.go
resource_aws_appautoscaling_target_test.go
resource_aws_autoscaling_group.go
resource_aws_autoscaling_group_test.go
resource_aws_autoscaling_group_waiting.go
resource_aws_autoscaling_group_waiting_test.go
resource_aws_autoscaling_lifecycle_hook.go
resource_aws_autoscaling_lifecycle_hook_test.go
resource_aws_autoscaling_notification.go
resource_aws_autoscaling_notification_test.go
resource_aws_autoscaling_policy.go
resource_aws_autoscaling_policy_test.go
resource_aws_autoscaling_schedule.go provider/aws: Refresh aws_autoscaling_schedule from state on 404 (#9659) 2016-10-27 18:39:15 +01:00
resource_aws_autoscaling_schedule_test.go provider/aws: Refresh aws_autoscaling_schedule from state on 404 (#9659) 2016-10-27 18:39:15 +01:00
resource_aws_cloudformation_stack.go provider/aws: Handle JSON parsing error in the ReadFunc for various JSON documents. 2016-09-22 17:21:27 +01:00
resource_aws_cloudformation_stack_test.go
resource_aws_cloudfront_distribution.go Handle EC2 tags related errors in CloudFront Distribution resource. (#9298) 2016-10-09 20:51:16 +02:00
resource_aws_cloudfront_distribution_test.go Handle EC2 tags related errors in CloudFront Distribution resource. (#9298) 2016-10-09 20:51:16 +02:00
resource_aws_cloudfront_origin_access_identity.go
resource_aws_cloudfront_origin_access_identity_test.go
resource_aws_cloudtrail.go
resource_aws_cloudtrail_test.go
resource_aws_cloudwatch_event_rule.go Allow buildPutRuleInputStruct helper function to return an error. 2016-09-22 15:37:12 +01:00
resource_aws_cloudwatch_event_rule_test.go
resource_aws_cloudwatch_event_target.go
resource_aws_cloudwatch_event_target_test.go
resource_aws_cloudwatch_log_group.go
resource_aws_cloudwatch_log_group_test.go
resource_aws_cloudwatch_log_metric_filter.go
resource_aws_cloudwatch_log_metric_filter_test.go
resource_aws_cloudwatch_log_stream.go
resource_aws_cloudwatch_log_stream_test.go
resource_aws_cloudwatch_log_subscription_filter.go
resource_aws_cloudwatch_log_subscription_filter_test.go
resource_aws_cloudwatch_metric_alarm.go provider/aws: Fix reading dimensions on cloudwatch alarms 2016-09-23 18:26:04 -05:00
resource_aws_cloudwatch_metric_alarm_test.go provider/aws: Fix reading dimensions on cloudwatch alarms 2016-09-23 18:26:04 -05:00
resource_aws_codecommit_repository.go
resource_aws_codecommit_repository_test.go
resource_aws_codecommit_trigger.go
resource_aws_codecommit_trigger_test.go
resource_aws_codedeploy_app.go
resource_aws_codedeploy_app_test.go
resource_aws_codedeploy_deployment_group.go
resource_aws_codedeploy_deployment_group_test.go
resource_aws_customer_gateway.go provider/aws: Poll to confirm delete of resource_aws_customer_gateway 2016-10-12 17:41:03 -05:00
resource_aws_customer_gateway_test.go
resource_aws_db_event_subscription.go Add partition to remaining ARN builders. 2016-10-08 00:52:50 -04:00
resource_aws_db_event_subscription_test.go
resource_aws_db_instance.go Add partition to remaining ARN builders. 2016-10-08 00:52:50 -04:00
resource_aws_db_instance_test.go Parse AWS partition from ARN. 2016-10-07 00:08:30 -04:00
resource_aws_db_option_group.go Add partition to remaining ARN builders. 2016-10-08 00:52:50 -04:00
resource_aws_db_option_group_test.go
resource_aws_db_parameter_group.go Add partition to remaining ARN builders. 2016-10-08 00:52:50 -04:00
resource_aws_db_parameter_group_test.go
resource_aws_db_security_group.go Add partition to remaining ARN builders. 2016-10-08 00:52:50 -04:00
resource_aws_db_security_group_test.go
resource_aws_db_subnet_group.go Add partition to remaining ARN builders. 2016-10-08 00:52:50 -04:00
resource_aws_db_subnet_group_test.go
resource_aws_default_network_acl.go
resource_aws_default_network_acl_test.go
resource_aws_default_route_table.go
resource_aws_default_route_table_test.go
resource_aws_default_security_group.go
resource_aws_default_security_group_test.go
resource_aws_directory_service_directory.go provider/aws: Bump Directory Service creation timeout to 45m 2016-10-12 09:47:39 -05:00
resource_aws_directory_service_directory_test.go
resource_aws_dynamodb_table.go
resource_aws_dynamodb_table_test.go
resource_aws_ebs_volume.go
resource_aws_ebs_volume_test.go
resource_aws_ecr_repository.go provider/aws: Add retry logic to the aws_ecr_repository delete func 2016-09-28 12:01:13 +01:00
resource_aws_ecr_repository_policy.go
resource_aws_ecr_repository_policy_test.go
resource_aws_ecr_repository_test.go
resource_aws_ecs_cluster.go
resource_aws_ecs_cluster_test.go
resource_aws_ecs_service.go provider/aws: Increase ECS service drain timeout (#9521) 2016-10-22 14:16:59 +01:00
resource_aws_ecs_service_test.go
resource_aws_ecs_task_definition.go
resource_aws_ecs_task_definition_test.go
resource_aws_efs_file_system.go provider/aws: Update EFS resource to read performance mode and creation_token 2016-10-05 13:48:35 -05:00
resource_aws_efs_file_system_test.go provider/aws: Update EFS resource to read performance mode and creation_token 2016-10-05 13:48:35 -05:00
resource_aws_efs_mount_target.go
resource_aws_efs_mount_target_test.go
resource_aws_eip.go provider/aws: Add some tests for the Import for aws_eip 2016-10-07 16:21:11 +01:00
resource_aws_eip_association.go provider/aws: Refresh AWS EIP association from state when not found 2016-09-26 16:50:51 +01:00
resource_aws_eip_association_test.go provider/aws: Refresh AWS EIP association from state when not found 2016-09-26 16:50:51 +01:00
resource_aws_eip_test.go provider/aws: Add some tests for the Import for aws_eip 2016-10-07 16:21:11 +01:00
resource_aws_elastic_beanstalk_application.go
resource_aws_elastic_beanstalk_application_test.go
resource_aws_elastic_beanstalk_configuration_template.go
resource_aws_elastic_beanstalk_configuration_template_test.go
resource_aws_elastic_beanstalk_environment.go provider/aws: fix option updates to beanstalk 2016-09-22 11:30:33 +01:00
resource_aws_elastic_beanstalk_environment_migrate.go
resource_aws_elastic_beanstalk_environment_migrate_test.go
resource_aws_elastic_beanstalk_environment_test.go provider/aws: fix option updates to beanstalk 2016-09-22 11:30:33 +01:00
resource_aws_elastic_transcoder_pipeline.go
resource_aws_elastic_transcoder_pipeline_test.go
resource_aws_elastic_transcoder_preset.go
resource_aws_elastic_transcoder_preset_test.go
resource_aws_elasticache_cluster.go Add partition to remaining ARN builders. 2016-10-08 00:52:50 -04:00
resource_aws_elasticache_cluster_test.go provider/aws: Update ElasticCache cluster redis params for new default 2016-10-19 09:43:27 -05:00
resource_aws_elasticache_parameter_group.go
resource_aws_elasticache_parameter_group_test.go
resource_aws_elasticache_replication_group.go provider/aws: fix aws_elasticache_replication_group for Redis in cluster mode (#9601) 2016-10-25 23:59:54 +01:00
resource_aws_elasticache_replication_group_test.go provider/aws: fix aws_elasticache_replication_group for Redis in cluster mode (#9601) 2016-10-25 23:59:54 +01:00
resource_aws_elasticache_security_group.go
resource_aws_elasticache_security_group_test.go
resource_aws_elasticache_subnet_group.go
resource_aws_elasticache_subnet_group_test.go
resource_aws_elasticsearch_domain.go
resource_aws_elasticsearch_domain_test.go
resource_aws_elb.go provider/aws: Fix issue with updating ELB subnets for subnets in the same AZ (#9131) 2016-09-29 13:01:09 -05:00
resource_aws_elb_attachment.go
resource_aws_elb_attachment_test.go
resource_aws_elb_test.go provider/aws: Fix issue with updating ELB subnets for subnets in the same AZ (#9131) 2016-09-29 13:01:09 -05:00
resource_aws_emr_cluster.go re-go-fmt after rebase 2016-10-05 14:30:16 -05:00
resource_aws_emr_cluster_test.go re-go-fmt after rebase 2016-10-05 14:30:16 -05:00
resource_aws_emr_instance_group.go re-go-fmt after rebase 2016-10-05 14:30:16 -05:00
resource_aws_emr_instance_group_test.go re-go-fmt after rebase 2016-10-05 14:30:16 -05:00
resource_aws_flow_log.go
resource_aws_flow_log_test.go
resource_aws_glacier_vault.go
resource_aws_glacier_vault_test.go
resource_aws_iam_access_key.go
resource_aws_iam_access_key_test.go
resource_aws_iam_account_password_policy.go
resource_aws_iam_account_password_policy_test.go
resource_aws_iam_group.go provider/aws: Add validation to IAM User and Group Name 2016-10-25 13:18:41 +01:00
resource_aws_iam_group_membership.go
resource_aws_iam_group_membership_test.go
resource_aws_iam_group_policy.go
resource_aws_iam_group_policy_attachment.go
resource_aws_iam_group_policy_attachment_test.go
resource_aws_iam_group_policy_test.go
resource_aws_iam_group_test.go provider/aws: Add validation to IAM User and Group Name 2016-10-25 13:18:41 +01:00
resource_aws_iam_instance_profile.go
resource_aws_iam_instance_profile_test.go
resource_aws_iam_policy.go
resource_aws_iam_policy_attachment.go
resource_aws_iam_policy_attachment_test.go
resource_aws_iam_role.go
resource_aws_iam_role_policy.go
resource_aws_iam_role_policy_attachment.go
resource_aws_iam_role_policy_attachment_test.go
resource_aws_iam_role_policy_test.go
resource_aws_iam_role_test.go
resource_aws_iam_saml_provider.go
resource_aws_iam_saml_provider_test.go
resource_aws_iam_server_certificate.go
resource_aws_iam_server_certificate_test.go
resource_aws_iam_user.go Merge pull request #9584 from hashicorp/aws-iam-group-name-validation 2016-10-25 14:23:17 +01:00
resource_aws_iam_user_login_profile.go provider/aws: Add Login Profile acceptance tests 2016-10-25 16:16:57 -05:00
resource_aws_iam_user_login_profile_test.go provider/aws: Add tests with bad keys 2016-10-25 16:27:34 -05:00
resource_aws_iam_user_policy.go
resource_aws_iam_user_policy_attachment.go
resource_aws_iam_user_policy_attachment_test.go
resource_aws_iam_user_policy_test.go
resource_aws_iam_user_ssh_key.go
resource_aws_iam_user_ssh_key_test.go
resource_aws_iam_user_test.go provider/aws: Add validation to IAM User and Group Name 2016-10-25 13:18:41 +01:00
resource_aws_instance.go provider/aws: Make associate_public_ip_address computed 2016-10-24 11:24:54 -05:00
resource_aws_instance_migrate.go
resource_aws_instance_migrate_test.go
resource_aws_instance_test.go provider/aws: Support refresh of EC2 instance user_data. 2016-10-12 15:19:25 -05:00
resource_aws_internet_gateway.go
resource_aws_internet_gateway_test.go
resource_aws_key_pair.go
resource_aws_key_pair_migrate.go
resource_aws_key_pair_migrate_test.go
resource_aws_key_pair_test.go
resource_aws_kinesis_firehose_delivery_stream.go
resource_aws_kinesis_firehose_delivery_stream_migrate.go
resource_aws_kinesis_firehose_delivery_stream_migrate_test.go
resource_aws_kinesis_firehose_delivery_stream_test.go
resource_aws_kinesis_stream.go
resource_aws_kinesis_stream_test.go
resource_aws_kms_alias.go
resource_aws_kms_alias_test.go
resource_aws_kms_key.go
resource_aws_kms_key_test.go
resource_aws_lambda_alias.go Added "arn" attribute to AWS Lambda alias 2016-10-16 21:43:44 +09:00
resource_aws_lambda_alias_test.go Added "arn" attribute to AWS Lambda alias 2016-10-16 21:43:44 +09:00
resource_aws_lambda_event_source_mapping.go
resource_aws_lambda_event_source_mapping_test.go
resource_aws_lambda_function.go
resource_aws_lambda_function_test.go
resource_aws_lambda_permission.go
resource_aws_lambda_permission_test.go
resource_aws_launch_configuration.go Read back aws_launch_configuration's associate_public_ip_address field, to enable importing. 2016-10-17 09:12:25 -05:00
resource_aws_launch_configuration_test.go
resource_aws_lb_cookie_stickiness_policy.go
resource_aws_lb_cookie_stickiness_policy_test.go
resource_aws_lb_ssl_negotiation_policy.go
resource_aws_lb_ssl_negotiation_policy_test.go
resource_aws_load_balancer_backend_server_policy.go
resource_aws_load_balancer_backend_server_policy_test.go
resource_aws_load_balancer_listener_policy.go
resource_aws_load_balancer_listener_policy_test.go
resource_aws_load_balancer_policy.go
resource_aws_load_balancer_policy_test.go
resource_aws_main_route_table_association.go
resource_aws_main_route_table_association_test.go
resource_aws_nat_gateway.go
resource_aws_nat_gateway_test.go
resource_aws_network_acl.go
resource_aws_network_acl_rule.go
resource_aws_network_acl_rule_test.go
resource_aws_network_acl_test.go give security groups their own sgProtocolIntegers methodw 2016-09-30 15:45:25 -05:00
resource_aws_network_interface.go
resource_aws_network_interface_test.go
resource_aws_opsworks_application.go
resource_aws_opsworks_application_test.go
resource_aws_opsworks_custom_layer.go
resource_aws_opsworks_custom_layer_test.go Add ability to import AWS OpsWorks Custom Layers 2016-10-07 11:57:11 +01:00
resource_aws_opsworks_ganglia_layer.go
resource_aws_opsworks_haproxy_layer.go
resource_aws_opsworks_instance.go
resource_aws_opsworks_instance_test.go
resource_aws_opsworks_java_app_layer.go
resource_aws_opsworks_memcached_layer.go
resource_aws_opsworks_mysql_layer.go
resource_aws_opsworks_nodejs_app_layer.go
resource_aws_opsworks_permission.go
resource_aws_opsworks_permission_test.go
resource_aws_opsworks_php_app_layer.go
resource_aws_opsworks_rails_app_layer.go
resource_aws_opsworks_stack.go Add ability to import AWS OpsWorks Custom Layers 2016-10-07 11:57:11 +01:00
resource_aws_opsworks_stack_test.go Revert region to us-west-2 (and set us-west-2 as default region in acceptance test class) 2016-09-30 13:33:00 +01:00
resource_aws_opsworks_static_web_layer.go
resource_aws_opsworks_user_profile.go
resource_aws_opsworks_user_profile_test.go provider/aws: Tidy up IAM user acc tests 2016-10-19 09:22:27 -05:00
resource_aws_placement_group.go
resource_aws_placement_group_test.go
resource_aws_proxy_protocol_policy.go
resource_aws_proxy_protocol_policy_test.go
resource_aws_rds_cluster.go Add partition to remaining ARN builders. 2016-10-08 00:52:50 -04:00
resource_aws_rds_cluster_instance.go Parse AWS partition from ARN. 2016-10-07 00:08:30 -04:00
resource_aws_rds_cluster_instance_test.go provider/aws: Make encryption in Aurora instances computed-only 2016-09-26 17:23:16 +01:00
resource_aws_rds_cluster_parameter_group.go Add partition to remaining ARN builders. 2016-10-08 00:52:50 -04:00
resource_aws_rds_cluster_parameter_group_test.go
resource_aws_rds_cluster_test.go
resource_aws_redshift_cluster.go Add partition to remaining ARN builders. 2016-10-08 00:52:50 -04:00
resource_aws_redshift_cluster_test.go
resource_aws_redshift_parameter_group.go
resource_aws_redshift_parameter_group_test.go
resource_aws_redshift_security_group.go
resource_aws_redshift_security_group_test.go
resource_aws_redshift_subnet_group.go provider/aws: Add tagging support to aws_redshift_subnet_group 2016-10-24 13:44:46 +01:00
resource_aws_redshift_subnet_group_test.go provider/aws: Add tagging support to aws_redshift_subnet_group 2016-10-24 13:44:46 +01:00
resource_aws_route.go provider/aws: Bump AWS Route retry to 2 minutes, up from 15 seconds 2016-10-21 11:36:51 -05:00
resource_aws_route53_delegation_set.go
resource_aws_route53_delegation_set_test.go
resource_aws_route53_health_check.go Add update support for `search_string` 2016-10-05 13:25:00 +02:00
resource_aws_route53_health_check_test.go Add update support for `search_string` 2016-10-05 13:25:00 +02:00
resource_aws_route53_record.go provider/aws: aws_route53_record alias refresh manually updated record 2016-09-29 18:54:32 +01:00
resource_aws_route53_record_migrate.go
resource_aws_route53_record_migrate_test.go
resource_aws_route53_record_test.go
resource_aws_route53_zone.go
resource_aws_route53_zone_association.go
resource_aws_route53_zone_association_test.go
resource_aws_route53_zone_test.go
resource_aws_route_table.go
resource_aws_route_table_association.go
resource_aws_route_table_association_test.go
resource_aws_route_table_test.go
resource_aws_route_test.go
resource_aws_s3_bucket.go aws: Add missing metadata for us-east-2 2016-10-18 09:31:57 +01:00
resource_aws_s3_bucket_notification.go
resource_aws_s3_bucket_notification_test.go
resource_aws_s3_bucket_object.go Remove If-Match check and update ETag in state based on HeadObject 2016-10-11 11:43:33 -05:00
resource_aws_s3_bucket_object_test.go
resource_aws_s3_bucket_policy.go provider/aws: Suceed deleting bucket policy on err (#9641) 2016-10-26 23:16:54 +01:00
resource_aws_s3_bucket_policy_test.go
resource_aws_s3_bucket_test.go provider/aws: Fix failed remove S3 lifecycle_rule 2016-09-24 16:56:25 +09:00
resource_aws_security_group.go give security groups their own sgProtocolIntegers methodw 2016-09-30 15:45:25 -05:00
resource_aws_security_group_rule.go
resource_aws_security_group_rule_migrate.go
resource_aws_security_group_rule_migrate_test.go
resource_aws_security_group_rule_test.go
resource_aws_security_group_rules_matching_test.go
resource_aws_security_group_test.go
resource_aws_ses_active_receipt_rule_set.go
resource_aws_ses_active_receipt_rule_set_test.go
resource_aws_ses_receipt_filter.go
resource_aws_ses_receipt_filter_test.go
resource_aws_ses_receipt_rule.go
resource_aws_ses_receipt_rule_set.go
resource_aws_ses_receipt_rule_set_test.go
resource_aws_ses_receipt_rule_test.go
resource_aws_simpledb_domain.go
resource_aws_simpledb_domain_test.go
resource_aws_sns_topic.go
resource_aws_sns_topic_policy.go
resource_aws_sns_topic_policy_test.go
resource_aws_sns_topic_subscription.go
resource_aws_sns_topic_subscription_test.go
resource_aws_sns_topic_test.go
resource_aws_spot_datafeed_subscription.go
resource_aws_spot_datafeed_subscription_test.go
resource_aws_spot_fleet_request.go provider/aws: Wait for Spot Fleet to drain before removing from state (#8938) 2016-09-22 15:22:27 -05:00
resource_aws_spot_fleet_request_migrate.go
resource_aws_spot_fleet_request_migrate_test.go
resource_aws_spot_fleet_request_test.go provider/aws: Wait for Spot Fleet to drain before removing from state (#8938) 2016-09-22 15:22:27 -05:00
resource_aws_spot_instance_request.go
resource_aws_spot_instance_request_test.go
resource_aws_sqs_queue.go
resource_aws_sqs_queue_policy.go
resource_aws_sqs_queue_policy_test.go
resource_aws_sqs_queue_test.go
resource_aws_ssm_association.go
resource_aws_ssm_association_test.go
resource_aws_ssm_document.go provider/aws: Add retry to the `aws_ssm_document` delete func 2016-10-03 16:14:15 +01:00
resource_aws_ssm_document_test.go
resource_aws_subnet.go
resource_aws_subnet_test.go
resource_aws_volume_attachment.go provider/aws: Insert log when removing volume attachment if not found 2016-10-03 09:57:42 -05:00
resource_aws_volume_attachment_test.go
resource_aws_vpc.go
resource_aws_vpc_dhcp_options.go
resource_aws_vpc_dhcp_options_association.go
resource_aws_vpc_dhcp_options_association_test.go
resource_aws_vpc_dhcp_options_test.go
resource_aws_vpc_endpoint.go provider/aws: Remove VPC Endpoint from state if it's not found 2016-10-24 14:17:58 -05:00
resource_aws_vpc_endpoint_test.go provider/aws: Remove VPC Endpoint from state if it's not found 2016-10-24 14:17:58 -05:00
resource_aws_vpc_peering_connection.go Make sure that VPC Peering Connection in a failed state returns an error. 2016-09-25 15:50:08 +01:00
resource_aws_vpc_peering_connection_test.go Add test to check for failed state of the VPC Peering Connection. 2016-09-26 09:17:24 +01:00
resource_aws_vpc_test.go
resource_aws_vpn_connection.go
resource_aws_vpn_connection_test.go
resource_aws_vpn_gateway.go
resource_aws_vpn_gateway_attachment.go
resource_aws_vpn_gateway_attachment_test.go
resource_aws_vpn_gateway_test.go
resource_aws_waf_ipset.go Added WAF ACL Resource (#8852) 2016-10-27 12:54:36 +01:00
resource_aws_waf_ipset_test.go Added WAF ACL Resource (#8852) 2016-10-27 12:54:36 +01:00
resource_aws_waf_rule.go Added WAF ACL Resource (#8852) 2016-10-27 12:54:36 +01:00
resource_aws_waf_rule_test.go Added WAF ACL Resource (#8852) 2016-10-27 12:54:36 +01:00
resource_aws_waf_web_acl.go Added WAF ACL Resource (#8852) 2016-10-27 12:54:36 +01:00
resource_aws_waf_web_acl_test.go Added WAF ACL Resource (#8852) 2016-10-27 12:54:36 +01:00
resource_vpn_connection_route.go
resource_vpn_connection_route_test.go
s3_tags.go
s3_tags_test.go
structure.go Merge pull request #9010 from hashicorp/aws-elasticache-cluster-import 2016-09-28 19:49:42 +01:00
structure_test.go
tags.go Merge pull request #6819 from hashicorp/f-aws-vpc-data-sources 2016-10-13 14:17:55 -05:00
tagsBeanstalk.go
tagsBeanstalk_test.go
tagsCloudFront.go provider/aws: Add support for tags to aws_cloudfront_distribution 2016-09-28 13:18:41 +01:00
tagsCloudtrail.go
tagsCloudtrail_test.go
tagsEC.go
tagsEC_test.go
tagsEFS.go
tagsEFS_test.go
tagsELB.go
tagsELB_test.go
tagsRDS.go
tagsRDS_test.go
tagsRedshift.go
tagsRedshift_test.go
tags_elasticsearchservice.go
tags_elasticsearchservice_test.go
tags_kinesis.go
tags_kinesis_test.go
tags_route53.go
tags_route53_test.go
tags_test.go
validators.go Add missing unit test and re-factor for clarity. 2016-10-11 08:17:05 -05:00
validators_test.go Add missing unit test and re-factor for clarity. 2016-10-11 08:17:05 -05:00
website_endpoint_url_test.go Corrected Seoul S3 Website Endpoint Test 2016-09-24 17:42:52 +09:00