Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor obsolete override tfc_hostname #22

Closed
wants to merge 1 commit into from

Conversation

lusitania
Copy link
Contributor

Description

Removes ineffective input tfc_hostname and materialises its value in

  • module.aws_identity_provider.data.tls_certificate.tfc_certificate.url
  • module.aws_tfc_dynamic_credentials_iam_roles.aws_iam_role.this.assume_role_policy

How Has This Been Tested?

  1. terraform validate
  2. Search over both orgs
    • org:urbanmedia audience
    • org:tagesspiegel audience

No functional use outside this module.

Test Configuration:

  • Terraform version: 1.9.2
  • Module version:

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@lusitania lusitania self-assigned this Jul 25, 2024
@lusitania lusitania requested a review from a team as a code owner July 25, 2024 09:59
@github-actions github-actions bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. refactor Denotes a PR that refactors a specific part of an application. labels Jul 25, 2024
Copy link
Contributor

@leonsteinhaeuser leonsteinhaeuser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not a good idea because you can get your own instance of tfc where the hostname would change.

@lusitania
Copy link
Contributor Author

This is not a good idea because you can get your own instance of tfc where the hostname would change.

Boilerplate argument. As of today we are not enacting such practice nor do we have any plans to do so.

@leonsteinhaeuser
Copy link
Contributor

This is not a good idea because you can get your own instance of tfc where the hostname would change.

Boilerplate argument. As of today we are not enacting such practice nor do we have any plans to do so.

This is a public module. Do not assume that we are the only ones using it.

@lusitania
Copy link
Contributor Author

This is not a good idea because you can get your own instance of tfc where the hostname would change.

Boilerplate argument. As of today we are not enacting such practice nor do we have any plans to do so.

This is a public module. Do not assume that we are the only ones using it.

Again, Tagesspiegel is not committed to serve the public in matters of code.

@lusitania
Copy link
Contributor Author

I'll resolve this differently. This change is now obsolete.

@lusitania lusitania closed this Jul 29, 2024
@lusitania lusitania deleted the refactor/tfc_hostname branch July 29, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Denotes a PR that refactors a specific part of an application. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants