-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CUMULUS-3759:Migrated ECS Autoscaling group from launch configuration…
…s to launch templates (#3880) * CUMULUS-3759:Migrated ECS Autoscaling group from launch configurations to launch templates * update tf resources * add ec2 container service policy * update userdata format * add cumulus-std deployment config * update autoscaling_cf_template * delete userdata file * rename * instance refresh lifecycle * no need AmazonEC2ContainerServiceforEC2Role? * migrate fakeprovider to launch templates * refactor * remove variable from cumulus-std
- Loading branch information
Showing
9 changed files
with
259 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
prefix = "cumulus-std" | ||
|
||
buckets = { | ||
internal = { | ||
name = "cumulus-sit-internal" | ||
type = "internal" | ||
}, | ||
private = { | ||
name = "cumulus-sit-private" | ||
type = "private" | ||
}, | ||
protected = { | ||
name = "cumulus-sit-protected" | ||
type = "protected" | ||
}, | ||
public = { | ||
name = "cumulus-sit-public" | ||
type = "public" | ||
}, | ||
protected-2 = { | ||
name = "cumulus-sit-protected-2" | ||
type = "protected" | ||
}, | ||
glacier = { | ||
name = "cumulus-sit-orca-glacier" | ||
type = "orca" | ||
}, | ||
dashboard = { | ||
name = "cumulus-sit-dashboard" | ||
type = "dashboard" | ||
} | ||
} | ||
|
||
key_name = "lp" | ||
|
||
oauth_provider = "launchpad" | ||
|
||
saml_entity_id = "https://dashboard.cumulus.sit.earthdata.nasa.gov" | ||
saml_assertion_consumer_service = "https://api.cumulus.sit.earthdata.nasa.gov/saml/auth" | ||
saml_idp_login = "https://auth.launchpad-sbx.nasa.gov/affwebservices/public/saml2sso" | ||
saml_launchpad_metadata_url = "https://auth.launchpad-sbx.nasa.gov/unauth/metadata/launchpad-sbx.idp.xml" | ||
|
||
deploy_cumulus_distribution = false | ||
|
||
archive_api_url = "https://api.cumulus.sit.earthdata.nasa.gov/" | ||
private_archive_api_gateway = true | ||
|
||
# LOG CONFIGURATION (optional) | ||
log_api_gateway_to_cloudwatch = true | ||
|
||
tea_distribution_url = "https://data.cumulus.sit.earthdata.nasa.gov" | ||
|
||
s3_replicator_config = { | ||
source_bucket = "cumulus-std-access-logs" | ||
source_prefix = "s3_access_logs" | ||
target_bucket = "esdis-metrics-inbound-sit-cumulus-std-distribution" | ||
target_prefix = "input/s3_access/cumulus-stdsit" | ||
} | ||
|
||
api_reserved_concurrency = 14 | ||
|
||
lambda_timeouts = { | ||
queue_granules_task_timeout: 900, | ||
discover_granules_task_timeout: 900 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
prefix = "cumulus-std" | ||
|
||
elasticsearch_config = { | ||
domain_name = "es" | ||
instance_count = 2 | ||
instance_type = "t2.small.elasticsearch" | ||
version = "5.3" | ||
volume_type = "gp2" | ||
volume_size = 10 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.