Closed rlanore closed 11 months ago
Try with alekc but at first apply i have this
module.eks_monitoring.kubectl_manifest.flux_gitrepository[0]: Creating...
module.eks_monitoring.kubectl_manifest.flux_gitrepository[0]: Creation complete after 3s [id=/apis/source.toolkit.fluxcd.io/v1beta2/namespaces/flux-system/gitrepositorys/aws-observability-accelerator]
and next apply
module.eks_monitoring.kubectl_manifest.flux_gitrepository[0]: Refreshing state... [id=/apis/source.toolkit.fluxcd.io/v1beta2/namespaces/flux-system/gitrepositorys/aws-observability-accelerator]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# module.eks_monitoring.kubectl_manifest.flux_gitrepository[0] will be created
+ resource "kubectl_manifest" "flux_gitrepository" {
... ....
And this failed with
module.eks_monitoring.kubectl_manifest.flux_gitrepository[0]: Creating...
╷
│ Error: flux-system/aws-observability-accelerator failed to run apply: error when creating "/tmp/2083107233kubectl_manifest.yaml": the server could not find the requested resource (post gitrepositories.source.toolkit.fluxcd.io)
Finaly I get it to work multiple times. I think previous error hit miss configuration some where After destroy all stack and re-create it. it's work with alekc kubectl provider
Welcome to the AWS Observability Accelerator
AWS Observability Accelerator Release version
2.10.0
What is your environment, configuration and the example used?
Version
Plugins version
Module version
Create EKS into another terraform directory
Add eks-monitoring module to our eks with this tf file
What did you do and What did you see instead?
Some times on terraform apply one or many resource kubectl_manifest will be re-created. I check inside my cluster and this resource is correctly in place.
Additional Information