Skip to content

Commit

Permalink
[QOLDEV-839] remove dependencies on OpsWorks stack
Browse files Browse the repository at this point in the history
- This needs to happen before the stack itself is removed, as CloudFormation doesn't let you remove exports that are in use
  • Loading branch information
ThrawnCA committed May 2, 2024
1 parent 9e01da1 commit 20a324e
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 608 deletions.
3 changes: 0 additions & 3 deletions CKAN-Stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,3 @@
stack_name: "{{ stack_name }}"
stack_resources: true
register: opsworks_facts

- name: Enable CloudWatch Logs on OpsWorks web layer
command: "aws opsworks update-layer --region us-east-1 --layer-id '{{opsworks_facts.ansible_facts.cloudformation[stack_name].stack_outputs.WebLayer}}' --cloud-watch-logs-configuration 'Enabled=true, LogStreams=[{LogGroupName={{service_name}}_{{Environment}}_ckan-worker, File=/var/log/ckan/*.log}, {LogGroupName={{service_name}}_{{Environment}}_httpd, File=/var/log/httpd/*/*.log}, {LogGroupName={{service_name}}_{{Environment}}_solr, File=/var/log/solr/*.log}]'"
16 changes: 0 additions & 16 deletions OpsWorks-web-layer.yml

This file was deleted.

164 changes: 0 additions & 164 deletions opsworks-deploy.sh

This file was deleted.

25 changes: 0 additions & 25 deletions opsworks-deployment.yml

This file was deleted.

60 changes: 0 additions & 60 deletions roles/ansible_opsworks/tasks/main.yml

This file was deleted.

3 changes: 0 additions & 3 deletions templates/Datashades-OpsWorks-CKAN-Extensions.cfn.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ Parameters:
- TRAINING
- STAGING
- PROD
OpsWorksStack:
Description: The exported name of the OpsWorks Stack ID
Type: String
ApplicationName:
Description: Name of the application (ie. GI or Services, etc)
Type: String
Expand Down
Loading

0 comments on commit 20a324e

Please sign in to comment.