|
|
|
|
@ -120,6 +120,13 @@ func Provider() terraform.ResourceProvider {
|
|
|
|
|
Description: descriptions["skip_credentials_validation"],
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"skip_region_validation": {
|
|
|
|
|
Type: schema.TypeBool,
|
|
|
|
|
Optional: true,
|
|
|
|
|
Default: false,
|
|
|
|
|
Description: descriptions["skip_region_validation"],
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
"skip_requesting_account_id": {
|
|
|
|
|
Type: schema.TypeBool,
|
|
|
|
|
Optional: true,
|
|
|
|
|
@ -441,6 +448,9 @@ func init() {
|
|
|
|
|
"skip_credentials_validation": "Skip the credentials validation via STS API. " +
|
|
|
|
|
"Used for AWS API implementations that do not have STS available/implemented.",
|
|
|
|
|
|
|
|
|
|
"skip_region_validation": "Skip static validation of region name. " +
|
|
|
|
|
"Used by users of alternative AWS-like APIs or users w/ access to regions that are not public (yet).",
|
|
|
|
|
|
|
|
|
|
"skip_requesting_account_id": "Skip requesting the account ID. " +
|
|
|
|
|
"Used for AWS API implementations that do not have IAM/STS API and/or metadata API.",
|
|
|
|
|
|
|
|
|
|
@ -475,6 +485,7 @@ func providerConfigure(d *schema.ResourceData) (interface{}, error) {
|
|
|
|
|
KinesisEndpoint: d.Get("kinesis_endpoint").(string),
|
|
|
|
|
Insecure: d.Get("insecure").(bool),
|
|
|
|
|
SkipCredsValidation: d.Get("skip_credentials_validation").(bool),
|
|
|
|
|
SkipRegionValidation: d.Get("skip_region_validation").(bool),
|
|
|
|
|
SkipRequestingAccountId: d.Get("skip_requesting_account_id").(bool),
|
|
|
|
|
SkipMetadataApiCheck: d.Get("skip_metadata_api_check").(bool),
|
|
|
|
|
S3ForcePathStyle: d.Get("s3_force_path_style").(bool),
|
|
|
|
|
|